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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What do you mean by inline function?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What do you mean by inline function?
Answer
# 1
The __inline keyword tells the compiler to substitute the 
code within the function definition for every instance of a 
function call.
 However, substitution occurs only at the compiler’s 
discretion.
 For example, the compiler does not inline a function if 
its address is taken or if it is too large to inline.
 
Is This Answer Correct ?    1 Yes 1 No
P Suresh Kumar
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
When is a memory allocated to a class?  3
What is the difference between const int *ptr and int const *ptr???  2
why destructor is not over loaded?  2
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization? IntraLogic1
What is the Advantage of Interface over the Inheritance in OOPS?  2
write a program for function overloading?  4
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed? EA-Electronic-Arts2
what is a virtual class? Cap-Gemini1
What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required  5
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE?? Biocon1
What is abstraction?  6
what is virtual function in c++  4
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }  1
What is virtual constructors/destructors?  3
When is it necessary to use member-wise initialization list in C++?  1
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts? IBM3
what is abstract class ? when is used in real time ? give a exp  2
When is an object created and what is its lifetime? IBM1
What do you mean by binding of data and functions?  1
What is R T T I ? Ness-Technologies3
 
For more OOPS 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