+ 1

what is the purpose of #include <stdio.h> and what is %ld

4th Aug 2020, 3:18 AM
pranay kumar Gadapa
pranay kumar Gadapa - avatar
2 Answers
+ 3
stdio.h means standard input or output function which contains printf(), scanf() functions. %ld indicates long int
4th Aug 2020, 3:34 AM
v@msi😉
v@msi😉 - avatar
+ 2
" #include <stdio.h> " is a preprocessor which tells the system that before compiling this program it have to include all the content from file "stdio.h" to this program. Just like v@msi😏😏 said "stdio" is a header file of C which contains defination of a functions like scanf(), printf() etc. Whereas "%ld" is a format specifier for data type "long int"
4th Aug 2020, 3:50 AM
Arsenic
Arsenic - avatar