1.

Which keyword is used to define the user defined data types?(a) def(b) union(c) typedef(d) typeI have been asked this question in class test.Question is from User Defined Types in division Source Files, Classes and Operator Overloading in C++ of C++

Answer»

Right option is (c) TYPEDEF

Best explanation: Typedef is used to DEFINE USER DEFINED datatypes.

eg:

typedef int INT;

INT a;

here INT is used defined data TYPE.



Discussion

No Comment Found

Related InterviewSolutions