+ 2

why there is an blank/next line between header file and main() function of c program?

https://code.sololearn.com/cpw5gNpz7EuH/?ref=app

25th Jan 2018, 6:51 AM
ShriekDj
4 Answers
+ 1
Includes are preprocessor directives (they start with a #). They are eveluated in the early compilation stage and have to be on their own line so the compiler recognizes them. Other than that, I see no blank lines in your code, so I'm not quite sure what else you could be referring to.
25th Jan 2018, 6:56 AM
SplittyDev
SplittyDev - avatar
+ 1
can you describe it in simple words i am new to programming
25th Jan 2018, 6:58 AM
ShriekDj
+ 1
thanks
25th Jan 2018, 7:10 AM
ShriekDj
0
When you include a file using #include, the compiler copies that file directly into the source code. #include is called a preprocessor directive, which means that it is processed before (pre) the compilation starts.
25th Jan 2018, 7:03 AM
SplittyDev
SplittyDev - avatar