Professional Documents
Culture Documents
TRUE
FALSE
TRUE
FALSE
____ 5. Suppose that count is an int variable. The statements --count; and count--; both decrement the value
of count by 2.
FALSE
B. Identify the choice that best completes the statement below. (CLO1, PLO2)
a. program! c. 1program
b. program_1 d. program 1
cout << "Sunny " << '\n' << "Day " << endl;
a. Sunny \nDay
b. Sunny \nDay endl
c. Sunny
Day
d. Sunny \n
Day
8. Which of the following is the correct syntax for commenting in C++?
a. A / B = 3.5 A % B = 3.5
b. A/B=3A%B=1
c. A/B=1A%B=3
d. 31
10. Choose the right statement when produce this output with initial: int A=2, B=5;