0

Size of data types

23rd Oct 2016, 5:57 AM
dheeraj kumar
5 Respuestas
+ 1
try using sizeof operator with the data type you want.
25th Oct 2016, 1:59 PM
Maris Muiznieks
Maris Muiznieks - avatar
0
Those are machine dependent. Use the sizeof operator to get the sizes on your system.
23rd Oct 2016, 11:52 AM
Ullrich Franke
Ullrich Franke - avatar
0
int=2bytes, char=1byte,void=0byte,float=4bytes,double=8byte
23rd Oct 2016, 2:39 PM
shivam mishra
shivam mishra - avatar
- 1
int=2 bytes=16 bits char=1 byte=8 bits
18th Nov 2016, 12:47 PM
Latika
- 2
int =4 bit double =8 bit short int = 2 bit long int = 8 bit
23rd Oct 2016, 6:00 AM
Anonymous