Why preprocessor should come before source code?
Answers were Sorted based on User's Feedback
Answer / bhaskar.mantrala
why because when we compile a program all input and output
statements will be replaced by thier own codes present in
the directives...so all these things would be done by
preprocessor(pre processing) (#).....
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ashu_deepu
because there are codes which we use in the main program
need to be defined before their use.
or we can say we do so to have the prototype declaration
before their use.
eg.printf,scanf etc.
preprocessor include the header file
like stdio,conio etc.
| Is This Answer Correct ? | 1 Yes | 1 No |
HOW DO YOU HANDLE EXCEPTIONS IN C?
what is a far pointer
12 Answers ABB, DRDO, ITI, Maruti Suzuki, Steel Plant, TCS, Toyota, Vivo Mobiles,
How can I read and write comma-delimited text?
write a c program to find biggest of 3 number without relational operator?
What is the difference between null pointer and the void pointer?
array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}
how to write a bubble sort program without using temporary variable?
what is a void pointer?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
a simple c program using 'for' loop to display the output 5 4 3 2 1
find out largest elemant of diagonalmatrix
What is printf () in c?