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 are c++ storage classes?

1092


What is endl c++?

1095


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

1053


What are c++ data types?

1158


What is an iterator class in c++?

1132


Why c++ does not have finally?

1074


What is the purpose of extern storage specifier?

1182


What is a map in c++?

1194


Is c++ harder than java?

1060


When there is a global variable and local variable with the same name, how will you access the global variable?

1092


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

1098


Is there a c++ certification?

1055


Is recursion allowed in inline functions?

1076


Do you know what is overriding?

1190


Is overriding possible in c++?

999