Can inline functions have a recursion? Give the reason?
Answer Posted / guest
Calling the by itself, then the function is no longer
called as Inline. Compiler never know how depth of the
recursion at compilation time. Therefore inline functions
cant have a recursion
Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Why do we use double in c++?
Define a constructor - what it is and how it might be called (2 methods)?
How new/delete differs from malloc()/free?
What is the use of ::(scope resolution operator)?
What is #include iomanip?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is stack unwinding?
Can recursive program be written in C++?
How many characters are recognized by ANSI C++?
Is it possible to get the source code back from binary file?
how to explain our contribution in the project?
Can you please explain the difference between overloading and overriding?
What are friend functions in C++?
What is prototype for that c string function?
Is c++ still being used?