November 2001
Beginner
1128 pages
29h 12m
English
| 1: | Why does C++ have more than one integer type? | ||
| A1: | Having more than one integer type lets you choose the type best suited to a particular need. For example, you could use short to conserve space, long to guarantee storage capacity, or find that a particular type speeds up a particular calculation. | ||
| 2: | Define the following:
| ||
| A2: |
short rbis = 80; // or short int rbis = 80; unsigned int q = 42110; // or unsigned q = 42110; unsigned long ants = 3000000000; Note
| ||
| 3: | What safeguards ... |
Read now
Unlock full access