1.

Which category of data type a class belongs to?(a) Fundamental data type(b) Derived data type(c) User defined derived data type(d) Atomic data typeThis question was addressed to me in homework.The query is from Classes in portion Source Files, Classes and Operator Overloading in C++ of C++

Answer»

The correct choice is (c) User defined DERIVED data type

The explanation: Fundamental/Atomic data type INCLUDES int, char, float, double and void. Derived data type includes arrays, pointers, references, FUNCTION and constants. User defined derived data type includes class, structure, UNION and ENUMERATION.



Discussion

No Comment Found

Related InterviewSolutions