Data types define the type of data a variable can hold, for example an integer variable can hold integer data, a character type variable can hold character data etc.
Data types in C++ are categorised in three groups:
- Built-in.
- int
- char
- float
- double
- Boolean
- void
- wide character
- User-Defined.
- struct
- union
- enum
- Derived.
- Array
- Function
- Pointer
No comments:
Post a Comment