Answer the following statement(s) true (T) or false (F)
1. The condition used in an if statement can be any valid C++ expression.
2. In C++, strings of characters cannot be compared.
3. A common problem with the if-else statement is using the assignment operator, =, in place of the relational operator ==.
4. Before the current ANSI/ISO C++ standard, C++ didn’t have a built-in Boolean data type with its two Boolean values, true and false.
5. In C++, the postfix and prefix -- operators can be applied to Boolean variables.
1. True
2. False
3. True
4. True
5. False
You might also like to view...
Describe a situation in which the execution of a program under your local operating system is not
a. Atomic b. Isolated c. Durable
Which of the following was developed as a key exchange protocol and is used in SSL and IPsec?
a. DES b. RSA c. Diffie-Hellman d. El Gamal
How can you monitor extended IP access lists?
What will be an ideal response?
For a 15-year loan paid monthly, which of the following would not be correct for the num_periods argument in the Pmt function?
A. 15 B. 15*12 C. 180 D. 12*15