C Plus Plus Miscellaneous - Study Mode

[#491] Which container provides random access iterators?
Correct Answer

(D) both vector & deque

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

(A) isalpha()

[#493] What happens when no argument is supplied to reset() function?
Correct Answer

(B) All bits are set to 0 in a bitset

[#494] How many template parameters are allowed in template classes?
Correct Answer

(D) one or more

[#495] Which is also called as abstract class?
Correct Answer

(B) pure virtual function