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 |
What is the condition that is applied with ?: Operator?
What is #include cctype?
What does static variable mean in c?
Explain what is the difference between #include and #include 'file' ?
Can you write a programmer for FACTORIAL using recursion?
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
what do you mean by defining a variable in our c code?
What is the difference between calloc() and realloc()?
Hi can anyone tell what is a start up code?
Explain b+ tree?
how to connect oracle in C/C++.
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
0 Answers Lovely Professional University,