The output of the statement:cout << tolower('$') << endl; is ____.

A. '$'
B. '0'
C. '1'
D. An error, because you cannot use tolower with '$'.


Answer: A

Computer Science & Information Technology

You might also like to view...

The main difference between the functions atof, atoi and atol is:

a. Their return types. b. Their arguments. c. Their header files. d. Their efficiency.

Computer Science & Information Technology

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

1. When the code in a try block may throw more than one type of exception, you need to write a catch clause for each type of exception that could potentially be thrown. 2. The throw statement informs the compiler that a method throws one or more exceptions. 3. The ability to catch multiple types of exceptions with a single catch clause is known as multi-catch and was introduced in Java 7. 4. In versions of Java prior to Java 7 each catch clause could handle only one type of exception.

Computer Science & Information Technology

Use separate statements to declare variable a to be of type Part, array b[ 10 ] to be of type Part and variable ptr to be of type pointer to Part.

What will be an ideal response?

Computer Science & Information Technology

Filenames can be no more than 25 characters, including spaces, and can include letters, numbers, and certain symbols.

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

Computer Science & Information Technology