C Plus Plus Miscellaneous - Study Mode

[#231] What is most suitable for returning the logical errors in the program?
Correct Answer

(B) Set a global error indicator

[#232] What happens if try catch block is not used?
Correct Answer

(A) arise an error

[#233] What is the default value of a bitset?
Correct Answer

(A) All bits are 0

[#234] What are Templates in C++?
Correct Answer

(A) A feature that allows the programmer to write generic programs

[#235] Which header file is required to use accumulate() function?
Correct Answer

(B) <numeric>