What is the output of the following statement?

```
cout << tolower(toupper('Z')) << endl;
```
a. uppercase Z
b. lowercase z
c. a lowercase z followed by an uppercase Z
d. a compiler error
e. None of these

b. lowercase z

Computer Science & Information Technology

You might also like to view...

The ________ function will convert all characters in a text string to lowercase

Fill in the blank(s) with correct word

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. The general input/output symbol is used to indicate a specific process in an algorithm. 2. The SIMPLE SEQUENCE control structure is the simplest control structure but it is rarely used. 3. WRITE NAME, AVERAGE is a valid output statement, assuming NAME and AVERAGE have been defined and assigned values. 4. A record is a collection of facts about a single entity. 5. In an assignment statement, the value of any variable to the left of the = should not be changed during processing.

Computer Science & Information Technology