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  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 31 of 255    Print  
What are inline functions?

  
Total Answers and Comments: 4 Last Update: August 01, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 20, 2005 12:48:14   #1  
santosh/Piyush        

RE: What are inline functions?
Inline functions are special callback types which are embedded in the caller (objects or functions) body, This reduces the overhead memory usage......
 
Is this answer useful? Yes | No
October 16, 2005 01:51:23   #2  
SHAKTI KUMAR        

RE: What are inline functions?
The function which has declare inline makes the compiler free to jump to the function body directly.... 
 
Is this answer useful? Yes | No
March 27, 2006 06:07:50   #3  
Yashwant S pinge        

RE: What are inline functions?
Inline function is a function which function name with function body at compiled time.In line function reduces the execution time .It is a small size function which never contains the loop, otherwise compiler treats the inline function as normal function.
 
Is this answer useful? Yes | No
August 01, 2007 17:19:30   #4  
meghagoyal_01 Member Since: August 2007   Contribution: 2    

RE: What are inline functions?
Inline functions are small sized functions (basically 2-3 line function) which do not contain any loop.

whenever an inline function is invoked, it is expanded thereby rather then passing the control to where it has been defined, thus reducing execution cost and time.

we cannot force a function to be inline. It is purely compiler's decision whether to take a function as inline or not.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape