GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Hexaware

 Print  |  
Question:  Which are preprocessor directives?
ANS: #include & #define




September 09, 2006 12:12:44 #1
 puneet   Member Since: Visitor    Total Comments: N/A 

RE: Which are preprocessor directives?ANS: #incl...
 
As its name suggests,the preprocesser processer is a program which process the source code before the actual compilation of the source code takes place..if there is any macro template in the program,it is replaced by its macro expansion.ex:- #define pi 3.14 so where u use pi in the program ,it will be relaced by its corresponding expansion,i.e its value 3.14(here)here #define is the preprocesser directive,just like other directives #include ,#ifdef etc.
     

 

Back To Question