Google News
logo
CPP - Quiz(MCQ)
Which category of data type a class belongs to?
A)
Atomic data type
B)
Derived data type
C)
User defined derived data type
D)
Fundamental data type

Correct Answer :   User defined derived data type


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.

Advertisement