Which one is the valid data type in c++ ?
Answers
Answered by
3
Answer
Integer: Keyword used for integer data types is int. Integers typically requires 4 bytes of memory space and ranges from -2147483648 to 2147483647.
...
Long.
Data Type Size (in bytes) Range
short int 2 -32,768 to 32,767
int 4 -2,147,483,648 to 2,147,483,647
long int 4 -2,147,483,648 to 2,147,483,647
Similar questions