Classes in CPP are User defined data types - C++ basic concepts

Q.  Classes in CPP are________ .
- Published on 17 Jul 15

a. derived data types
b. User defined data types
c. built-in data types
d. All of these

ANSWER: User defined data types
 

    Discussion

  • Rajasekhar reddy   -Posted on 24 Jul 16
    we can give any name as the class name
  • Nihal   -Posted on 08 Oct 15
    Classes in CPP are user defined data types.
    The various data types provided by C++ are as follows:
    • Built-in data types (int, float, double…..)
    • Derived data types (Array,…..)
    • user-defined data types (structure, union, class)

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)