Which of the following are types of datatypes in C++?

37. Which of the following are types of datatypes in C++?

  1. Basic Datatype
  2. Derived Datatype
  3. Enumeration data type
  4. User Defined datatype

Options:

  1. 1 and 2
  2. 1, 2, and 4
  3. 1, 2, and 3
  4. All, 1, 2, 3, 4

Answer: D) All, 1, 2, 3, 4

Explanation:

There are 4 types of datatypes in C++:

  1. Basic Datatype
  2. Derived Datatype
  3. Enumeration data type
  4. User Defined datatype

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.