0
Size of data types
5 Answers
+ 1
try using sizeof operator with the data type you want.
0
Those are machine dependent. Use the sizeof operator to get the sizes on your system.
0
int=2bytes, char=1byte,void=0byte,float=4bytes,double=8byte
- 1
int=2 bytes=16 bits
char=1 byte=8 bits
- 2
int =4 bit
double =8 bit
short int = 2 bit
long int = 8 bit