C Plus Plus Miscellaneous - Study Mode

[#536] What is the use of the indentation in c++?
Correct Answer

(A) distinguishes between comments and code

[#537] Which of the header file must be included to use stringstream?
Correct Answer

(B) <string>

[#538] The switch statement is also called as?
Correct Answer

(B) selective structure

[#539] Which container is used to keep priority based elements?
Correct Answer

(D) priority queue

[#540] What is the function of shift()?
Correct Answer

(C) Returns new array after shifting elements by the given number