C FAQ's
C FAQ's
Even though it looks like a keyword, sizeof( ) is an operator which is used to know the memory size of the data types and variables. This operator returns the number of bytes allocated for the variable (or) data type. The format of the sizeof() operator is as follows. sizeof(v); where v is a variable name / data type / value.