1.

What is meant by type_info?(a) Used to hold the type information returned by the typeid operator(b) Used to hold the type information returned by the dynamic_cast(c) Used to hold the type information returned by the static_cast(d) Used to hold the type information returned by the static_idThe question was posed to me in examination.I'd like to ask this question from Run Time Type Information topic in chapter Class Hierarchies, Library & Containers of C++

Answer»

Right choice is (a) Used to HOLD the type INFORMATION RETURNED by the typeid operator

The BEST I can explain: type_info is used to hold the type information returned by the typeid operator.



Discussion

No Comment Found

Related InterviewSolutions