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

Add guts to VS 2008 C++ windows service Project Description: I have a shell windows32 service written in 2008 VS C++. I want the functionality part started. Need someone too

(a) Write a procedure called (area-of-rectangle h w) that computes the area of a rectangle of height h and width w. (b) Write a procedure called (area-of-circle r) that computes

Run the following C++ program with and without preprocessor variable POSTFIX defined. #include using namespace std; extern "C" int atoi( const char *str );

count the number of string in n-th padovan string


I want a Reverse engineer a .exe to obtain the code Project Description: I'd like to get the full C++ source code from a .exe please Skills required is C++ Programming

world wide web

(a) Write a procedure called (add x y) that adds two numbers in a recursive manner. Specifically, note that x + y = (x + 1) + (y - 1) and x + 0 = x. (b) Using the substitution m

Explain each of the algorithms in a way that would be understandable to an intelligent person who is not familiar with programming. You should not use any code (or even pseudo code