Primary DataTypes
Type | Bytes | Format Specifier |
---|---|---|
char |
1 |
%c |
int |
4 |
%d |
long int |
8 |
%ld |
float |
4 |
%f |
double |
8 |
%lf |
long double |
16 |
%Lf |
User Defined DataTypes
Type | Bytes |
---|---|
struct |
Sum of allocated bytes of every variable |
union |
Max allocated bytes of a variable |