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 the use of ::(scope resolution operator)?

1077


Is it possible to have a recursive inline function in c++?

1032


What is c++ code?

1128


What is the output of the following program? Why?

1146


Why c++ is the best language?

1071


How will you call C functions from C ++ and vice-versa?

1147


Why c++ is better than c language?

1020


What is a c++ object?

1180


What is the this pointer?

1123


What are the differences between java and c++?

1083


Why do we use classes in programming?

1042


What is object oriented programming (oop)?

1121


What are the steps in the development cycle?

1102


What are the differences between new and malloc?

1136


How do you clear a set in c++?

1079