True or false | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

True or false

C++ allows programmers to create their own data types. Perhaps the simplest method for doing so is via an enumerated type.

13th May 2017, 5:23 PM
shad oow
shad oow - avatar
2 Answers
+ 7
True.... It's typedef..... Or another ways idk
13th May 2017, 5:27 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
True Classes are user-defined data types, and so are structures, arrays, etc... But, typedef only allows one to create an alias for a data type, and so, the types are just the same...
14th May 2017, 5:06 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar