CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS LANGUAGES C DETAILS
Question :
What is Preprocessor?



Category C Interview Questions
Rating (0.0) By 0 users
Added on 7/19/2006
Views 1744
Rate it!
Answers:

preprocessor is a program which processes our source program before it goes to the compiler for compilation.



Preprocessor is an internal program which accepts an input then process it and then sends the output to next stage.

Whereas C Preprocessor is a program invoked by compiler as the first part of translation. It helps in file inclusion(#include <...>), Macro definitions (#define x 10 ), Conditional inclusion(#ifdef,#undef,..).



 Posted by: Syed Baseer Ahmed    

Contact Syed Baseer Ahmed  Contact Syed Baseer Ahmed

The Preprocessor accepts source code as input and generates an intermediate code as the output



 Posted by: neelakanta    

Contact neelakanta  Contact neelakanta

Preprocessor is a program which checks for the header file whether it is included in the program for further processing.#include<stdio.h> is the start of the preprocessor directive.



 Posted by: sangitha    

Contact sangitha  Contact sangitha

# is a preprocessor
preprocessor is a process of compilor whice compiles before compiling main() function.



 Posted by: ankur dixit    

Contact ankur dixit  Contact ankur dixit


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is the difference between text and binary modes?


View Answer
What is the benefit of using const for declaring constants?


View Answer
What is the difference between declaring a variable and defining a variable?


View Answer
What is a const pointer?
View Answer
What is an lvalue?


View Answer
When is a switch statement better than multiple if statements?


View Answer
Can static variables be declared in a header file?


View Answer
Difference between Funtion to pointer and pointer to function

View Answer
What is #line used for?


View Answer
Can a variable be both const and volatile?


View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL C Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/6061/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.86