C Plus Plus Miscellaneous - Study Mode

[#356] What is an abstract class in C++?
Correct Answer

(B) Class specifically used as a base class with atleast one pure virtual functions

[#357] Which function is used to check whether a character is punctuation mark?
Correct Answer

(D) ispunct()

[#358] How many types of comments are there in c++?
Correct Answer

(B) 2

[#359] What is subtract_with_carry_engine?
Correct Answer

(C) Pseudo-random number engine that generates random unsigned integers in the range [0, 2 w-1 ] for some w using lagged Fibonacci generator

[#360] What is the difference between normal function and template function?
Correct Answer

(B) Template function works with any data types whereas normal function works with specific types only