1.

Identify the user-defined types from the following?(a) enumeration(b) classes(c) both enumeration and classes(d) intI got this question by my school principal while I was bunking the class.The query is from Types topic in chapter Types, Pointers, Arrays & Structures in C++ of C++

Answer»

Correct ANSWER is (c) both enumeration and classes

Explanation: They MUST be DEFINED by the users before use, UNLIKE the other types which are READILY available.



Discussion

No Comment Found

Related InterviewSolutions