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 how can I prevent another program from modifying part of a file that I am modifying?
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);
what is the return type of printf
c program to input values in a table(using 2D array) and print odd numbers from them
CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.
what is available in C language but not in C++?
10 Answers CTS, TCS,
What are the types of bitwise operator?
main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(ā%dā,x); }
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: ā We.....Are....Student ā Note: one .=1 Space Output: "We Are Student"
What is ambagious result in C? explain with an example.
What does. int *x[](); means ?
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=