November 2001
Beginner
1128 pages
29h 12m
English
| 1: | Why does C++ have more than one integer type? |
| 2: | Define the following:
|
| 3: | What safeguards does C++ provide to keep you from exceeding the limits of an integer type? |
| 4: | What is the distinction between 33L and 33? |
| 5: | Consider the two C++ statements that follow. Are they equivalent?
char grade = 65; char grade = 'A'; |
| 6: | How could you use C++ to find out which character the code 88 represents? Come up with at least two ways. |
| 7: | Assigning a long value to a float can result in a round-off error. What about assigning long to double? |
| 8: | Evaluate the following expressions as C++ would:
|
Read now
Unlock full access