Can inline functions contain a recursion?, C/C++ Programming

A: No. Syntax wise it is permitted. But then the function is no longer Inline. Since the compiler will never know how deep the recursion is at compilation time.

 

Posted Date: 3/20/2013 8:17:03 AM | Location : United States







Related Discussions:- Can inline functions contain a recursion?, Assignment Help, Ask Question on Can inline functions contain a recursion?, Get Answer, Expert's Help, Can inline functions contain a recursion? Discussions

Write discussion on Can inline functions contain a recursion?
Your posts are moderated
Related Questions
a c program to find the volume of sphere

Explain the Formatted Input Output with Strings? These are the third set of the scanf and printf families. They are called sscanf and sprintf. sprintf Puts formatted dat

you are to create a text adventure game that uses pointers. You have a rich, eccentric Uncle Billy who is soon to be deceased. How soon.....oops......he''s gone. He has left yo

A: A reference has to always refer to some object and, so, must always be initialized; pointers do not have such limits. A pointer may be reassigned to point to distinct objects wh

A: Name mangling is the rule according to which C++ modify function's name into function signature before passing that function to a linker. It is how the linker differentiates amo

Can copy constructor admit an object of the same class as parameter, rather than reference of the object?

Write a function that has four unsigned char parameters, combines the four one-byte integer values into an unsigned integer, and returns the unsigned integer. When the four one

what is the function of spanning tree in graph algorithm?

A: In C, encapsulation was completed by making things static in a compilation unit or module. It prevented another module from accessing the static stuff. (Incidentally, now static