Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can inline functions have a recursion? Give the reason?

Answer Posted / sandeep mannarakkal

Inline is a request to the compiler , i.e it may get rejected for the following reasons,
1) If there is recursion (recursion have stack over stack, but inline don't have stack)
2) If static variable is available inside inline function
3) if function definition and implementation are available at different files
4) If there is a function pointer to inline function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a type library?

1101


What is a modifier in c++?

1130


What is pointer in c++ with example?

1060


What is oops in c++?

1052


What is the difference between set and map in c++?

1131


How many keywords are used in c++?

1008


When is the copy constructor called?

1126


Can we change the basic meaning of an operator in c++?

1108


What is the difference between a type-specific template friend class and a general template friend class?

977


What are associate containers?

1016


Can you pass a vector to a function?

970


What do you mean by funtion prototype?

1074


what are the iterator and generic algorithms.

2143


What does new do in c++?

1066


describe private access specifiers?

1213