ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
What are the preprocessors?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the preprocessors?
Answer
# 1
a preprocessor which process some other files before our 
main program.
eg:#include<stdio.h>
 
Is This Answer Correct ?    2 Yes 0 No
Santhi
 
  Re: What are the preprocessors?
Answer
# 2
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 ?    3 Yes 0 No
Vishnu Vardan
 
 
 
  Re: What are the preprocessors?
Answer
# 3
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 ?    1 Yes 0 No
Mahendra Giri
 
  Re: What are the preprocessors?
Answer
# 4
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 ?    3 Yes 0 No
Achal
 
  Re: What are the preprocessors?
Answer
# 5
Preprocessor is the program which processes the source code before it goes to the  compiler.
 
Is This Answer Correct ?    1 Yes 0 No
Prasanna
 
  Re: What are the preprocessors?
Answer
# 6
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 ?    1 Yes 0 No
Priya
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0 Qualcomm5
#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); } ADITI2
Predict the output or error(s) for the following: 25. main() { printf("%p",main); } ME3
What's the best way to declare and define global variables?  5
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES  1
what is disadvantage of pointer in C Tech-Mahindra5
Explain in detail how strset (string handling function works )pls explain it with an example.  1
what is pointer ? Kernex-Micro-Systems7
what are brk, sbrk? Oracle1
what will happen if you free a pointer twice after allocating memory dynamically ? Novell2
What's wrong with "char *p; *p = malloc(10);"?  5
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]  4
6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod() Accenture1
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa.. Aricent4
write a C code To reverse a linked list Motorola2
Write a program for deleting duplicate elements in an array Subex3
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?  3
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE? Wipro1
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?  1
How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.  1
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com