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 |
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }
What is the difference between %d and %i?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
code for selection sort?
Which is the best sort method for library management?
IS Doon college of Engn.. has good faculty
Can two or more operators such as and be combined in a single line of program code?
write a proram to reverse the string using switch case?
related proverb of "dont count your chicken before it hatches"
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
What is external variable in c?