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 |
Not all reserved words are written in lowercase. TRUE or FALSE?
void main() { int i=5; printf("%d",i+++++i); }
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What does return 1 means in c?
What are valid operations on pointers?
What is the use of ?
Explain what is the concatenation operator?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
How can I recover the file name given an open stream?
What is the maximum no. of arguments that can be given in a command line in C.?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
What are the difference between a free-standing and a hosted environment?