C program to find the size of data types
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to find the size of data types ——————————————————————————————————————————— void | 1 byte int | 4 bytes char | 1 bytes float | 4 bytes double | 8 bytes long | 8 bytes short | 2 bytes NULL | 8 bytes bool | 16 bytes ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to find the range of data types
Find the output of C programs
C Control Statements
Advertisement