This document lists common C data types along with their size in bytes and format specifiers for printing. It shows that char takes 1 byte, short/short int take 2 bytes, int/signed int take 4 bytes, long/signed long take 4 bytes, float takes 4 bytes, double takes 8 bytes, and long double takes 10 bytes. Format specifiers include %c for char, %hi/%hu for short/unsigned short, %d/%i/%u for int/signed int/unsigned int, %ld/%li/%lu for long/signed long/unsigned long, %f for float, %lf for double, and %Lf for long double.
This document lists common C data types along with their size in bytes and format specifiers for printing. It shows that char takes 1 byte, short/short int take 2 bytes, int/signed int take 4 bytes, long/signed long take 4 bytes, float takes 4 bytes, double takes 8 bytes, and long double takes 10 bytes. Format specifiers include %c for char, %hi/%hu for short/unsigned short, %d/%i/%u for int/signed int/unsigned int, %ld/%li/%lu for long/signed long/unsigned long, %f for float, %lf for double, and %Lf for long double.
This document lists common C data types along with their size in bytes and format specifiers for printing. It shows that char takes 1 byte, short/short int take 2 bytes, int/signed int take 4 bytes, long/signed long take 4 bytes, float takes 4 bytes, double takes 8 bytes, and long double takes 10 bytes. Format specifiers include %c for char, %hi/%hu for short/unsigned short, %d/%i/%u for int/signed int/unsigned int, %ld/%li/%lu for long/signed long/unsigned long, %f for float, %lf for double, and %Lf for long double.