1.

How many types of user-defined data type are in c++?(a) 1(b) 2(c) 3(d) 4This question was posed to me by my college professor while I was bunking the class.This question is from User Defined Types in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

Correct choice is (c) 3

The explanation: There are THREE types of user-defined DATA types. They are TYPEDEF, union, ENUMERATOR.



Discussion

No Comment Found

Related InterviewSolutions