C program to find the range of data types
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to find the range of data types ——————————————————————————————————————————— Char Bit | 8 Char | -128 To 127 Signed char | -128 To 127 Unigned char | 0 To 255 Signed int | -2147483648 To 2147483647 Unigned int | 0 To 2147483647 short | -32768 To 32767 Unigned short | 0 To 65535 long | -9223372036854775808 To 9223372036854775807 Unsigned long | 0 To 9223372036854775807 float | 1.17549e-38 To 3.40282e+38 Signed float | -1.17549e-38 To -3.40282e+38 double | 2.22507e-308 To 1.79769e+308 ——————————————————————————————————————————— kodingwindow@kw:~$
Advertisement