CPP MCQ
What is the syntax of user-defined data types?
A)
def NameByUser ExistingData
B)
def NameByUser ExistingDataType
C)
typedef ExistingDataType NameByUser
D)
typedef NameByUser ExistingDataType

Correct Answer : Option (C) :   typedef ExistingDataType NameByUser

Explanation :

correct syntax is typedef ExistingDataType NameByUser.
typedef int INT; (typedef existing-datatype New-name;).