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 |
Explain the difference between null pointer and void pointer.
What is a example of a variable?
How can I send mail from within a c program?
An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee
What are void pointers in c?
Why can't we initialise member variable of a strucutre
What is infinite loop?
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?
pierrot's divisor program using c or c++ code
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
In header files whether functions are declared or defined?
Can a pointer point to null?