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 are friend functions in C++?
Explain what is class definition in c++ ?
Difference between pointer to constant and constant pointer to a constant. Give example.
Differentiate between realloc() and free().
Why c++ is created?
What is #include sstream?
Why can templates only be implemented in the header file?
What do you know about near, far and huge pointer?
What do you mean by static variables?
What are the main features of c++?
What is dev c++ used for?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is buffer and example?
What is the standard template library (stl)?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..