0
"%ld"
why the format specifier is %ld printf("int: %ld \n", sizeof(int)); printf("float: %ld \n", sizeof(float)); printf("double: %ld \n", sizeof(double)); printf("char: %ld \n", sizeof(char));
2 Answers
+ 1
ld stands for long decimal
0
Refer to this:
http://www.cplusplus.com/reference/cstdio/printf/