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

Explain differences between new() and delete()?

1050


Explain this pointer?

1001


What is difference between rand () and srand ()?

1038


What is cout flush?

959


Explain the concept of dynamic allocation of memory?

1044


Can the creation of operator** is allowed to perform the to-the-power-of operations?

948


Explain deep copy?

994


Why is the function main() special?

1040


What is a container class? What are the types of container classes in c++?

1153


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

1093


What is difference between class and function?

1028


Is c++ platform dependent?

1035


Explain how overloading takes place in c++?

971


How can we read/write Structures from/to data files?

1064


What is guard code in c++?

1109