The simple data type is the fundamental data type in C++ because it becomes a building block for the structured data type. There are three category of simple data type, that is:
- Integral ~ a data type that deals with integers, or numbers without a decimal part.
- Floating-point ~ a data type that deals with decimal numbers.
- Enumeration ~ a user-defined data type.
No comments:
Post a Comment