Explain built in data types in C++ with their size and range
Answers
Answered by
0
Explanation:
Built-in types (also called fundamental types) are specified by the C++ language standard and are built into the compiler. Built-in types aren't defined in any header file. Built-in types are divided into three main categories: integral, floating-point, and void.
Integer Types
Type Storage size Value range
signed char 1 byte -128 to 127
int 2 or 4 bytes -32,768 to 32,767
unsigned int 2 or 4 bytes 0 to 65,535
short 2 bytes -32,768 to 32,767
Similar questions