C Plus Plus Miscellaneous - Study Mode

[#316] What is mersenne_twister_engine?
Correct Answer

(B) Pseudo-random number engine that generates random unsigned integers in the range [0, 2 w-1 ] for some w using Mersenne Twister algorithm

[#317] Which operator is used to declare the destructor?
Correct Answer

(B) ~

[#318] Which operator is used to access the first or second element of a pair?
Correct Answer

(B) .

[#319] How the relationship is made in Association?
Correct Answer

(A) Through the objects of classes

[#320] Which value is placed in the base class?
Correct Answer

(B) default type values