C Plus Plus Miscellaneous - Study Mode

[#276] What kind of object is modifying sequence algorithm?
Correct Answer

(A) Function template

[#277] What does the 'sizeof' operator return in C++?
Correct Answer

(C) Size of a variable in bytes

[#278] Which of the following is not a fundamental data type in C++?
Correct Answer

(C) String

[#279] What is the purpose of the 'static' keyword in C++?
Correct Answer

(D) To declare a variable with static storage duration

[#280] What is the difference between '++i' and 'i++' in C++?
Correct Answer

(C) '++i' increments the value of 'i' before returning it, while 'i++' increments the value of 'i' after returning it