What are the preprocessors?
Answers were Sorted based on User's Feedback
Answer / santhi
a preprocessor which process some other files before our
main program.
eg:#include<stdio.h>
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / vishnu vardan
Preprocessor is a parser which parses the code before
compilation.It describes path of compilation,includes the
definitions of standard C functions and subustuites the
variables depending on the pre processor directive
used.Also can be used to output the comments and error
messages during compilation.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / achal
Each of the above answers is partially correct. A
Preprocessor is a software tool. You include many
preprocessor directives in your program.
e.g. include directives , #define, #ifdef , #pragma for
conditional compilation. All these things are taken care by
this tool. It comes into picture before compiler.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / prasanna
Preprocessor is the program which processes the source code before it goes to the compiler.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / priya
In computer science, a preprocessor is a program that processes its input data to produce output that is used as input to another program. The output is said to be a preprocessed form of the input data, which is often used by some subsequent programs like compilers.
| Is This Answer Correct ? | 2 Yes | 0 No |
preprocessor is which tells the compiler what header file
we are going to use in our program
#include<stdio.h>
will tell the compiler that it include header file standard
input output
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / harika.thota001@gmail.com
The preprocessor provides the ability for the inclusion of header files, macro expansions, conditional compilation, and line control.
In many C implementations, it is a separate program invoked by the compiler as the first part of translation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / niraj gupta
preprocessor is which tells the compiler what header file
we are going to use in our program
#include<stdio.h>
will tell the compiler that it include header file standard
input output
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sachin tyagi
The pre processor run before the compliler
The started statement # is called pre-procrssor command
| Is This Answer Correct ? | 0 Yes | 0 No |
What header files do I need in order to define the standard library functions I use?
what is the difference between c and c++?
How can I insert or delete a line (or record) in the middle of a file?
How do you use a 'Local Block'?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
How can a program be made to print the line number where an error occurs?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
printf("%d",(printf("Hello")); What it returns?
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
How is a macro different from a function?