The following statement should print the integer value of 'c'. cout << 'c';

What will be an ideal response?

Error: In C++, characters are not treated as small integers, as they are in C.
Correction: To print the numerical value for a character in the computer’s character
set, the character must be cast to an integer value, as in the following:
```
cout << static_cast('c');
```

Computer Science & Information Technology

You might also like to view...

Double clicking on a query from the Navigation Pane will ________ the query so a user can view the results

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following printer failure symptoms can be described as a condition where the internal feed mechanism has stopped working temporarily?

A. Power cycle B. Paper jam C. No connectivity D. Corrupt printer driver

Computer Science & Information Technology