C Plus Plus Miscellaneous - Study Mode

[#286] Which of the following is a valid way to initialize a constant variable in C++?
Correct Answer

(C) Using the 'const' keyword

[#287] Which of the following is correct about the first parameter of the main function?
Correct Answer

(D) All of the mentioned

[#288] Which function is used increment the iterator by a particular value?
Correct Answer

(B) advance()

[#289] What is a function template?
Correct Answer

(A) creating a function without having to specify the exact type

[#290] Which function is used to check whether a character is an alphabet or number?
Correct Answer

(B) isalnum()