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
What do c++ programmers do?
Is it possible to write a c++ template to check for a function's existence?
Define macro.
Can recursive program be written in C++?
What are function prototypes?
Define basic type of variable used for a different condition in C++?
Distinguish between new and malloc and delete and free().
What is the use of bit fields in structure declaration?
Which should be more useful: the protected and public virtuals?
When do you call copy constructors?
What can I safely assume about the initial values of variables which are not explicitly initialized?
How the keyword struct is different from the keyword class in c++?
What are the various situations where a copy constructor is invoked?
what Is DCS ? what i will get benefit when i did?
What is a manipulative person?