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  >  Interview Questions  >  Programming  >  C++

 Print  |  
Question:  Inline Function Advantages

Answer: What are the advantages of inline functions over macros?


March 03, 2009 02:20:14 #1
 bhuvanaram   Member Since: March 2009    Total Comments: 1 

RE: Inline Function Advantages
 
The inline function has the type check and the validation of the arguments passed whereas the macros do not validate anything.
     

 

Back To Question