Basic Data-type in c++
Basic Data type in c++
1. integral type
3.floating type
1. Buit-in type
Following table shows the basic data types and modifiers along with size and range for a 16-bit word machine.
- Data types in c++ can classified as follow:
1. integral type
- int
- char
3.floating type
- float
- double
- structure
- union
- class
- enumeration
- array
- function
- pointer
- reference
1. Buit-in type
- c & c++ supports all the buit-in data types.
- With the exception of void, the basic data types may have different modifiers preceding them to serve the needs of various situations.
- The modifiers signed , unsigned , long and short may be use with character and integer basic data types.
Following table shows the basic data types and modifiers along with size and range for a 16-bit word machine.
0 Comments