Home »
MCQs »
C++ MCQs
Which of the following are types of datatypes in C++?
37. Which of the following are types of datatypes in C++?
- Basic Datatype
- Derived Datatype
- Enumeration data type
- User Defined datatype
Options:
- 1 and 2
- 1, 2, and 4
- 1, 2, and 3
- All, 1, 2, 3, 4
Answer: D) All, 1, 2, 3, 4
Explanation:
There are 4 types of datatypes in C++:
- Basic Datatype
- Derived Datatype
- Enumeration data type
- User Defined datatype