Fundamental Data Types & Type Sizes in C++
Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!
signed & unsigned char
same size as char; atleast 8 bits
wchar_t
can represent the largest supported char
long double
more precise than double
double
more precise than float
char32_t
not smaller than char16_t; at least 32 bits
char16_t
not smaller than char; at least 16 bits
signed & unsigned short int
not smaller than char; at least 16 bits
signed & unsigned long int
not smaller than int; at least 32 bits
signed & unsigned long long int
not smaller than long; atleast 64 bits
signed & unsigned int
not smaller than short; at least 16 bits
char
one byte; atleast 8 bits