I have the following code:
#include int main() { printf(\"The \'int\' datatype is \\t\\t %lu bytes\\n\", sizeof(int)); printf(\"The \
In C the type of a sizeof expression is size_t.
sizeof
size_t
The printf specifier to use is %zu. Example:
printf
%zu
printf("The 'int' datatype is \t\t %zu bytes\n", sizeof(int));
It has been possible to use this since the 1999 version of the C standard.