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 does h mean in maths?
Why is c++ still best?
What is functions syntax in c++?
If a header file is included twice by mistake in the program, will it give any error?
What is a base class?
What is an arraylist c++?
Which bit wise operator is suitable for turning off a particular bit in a number?
Can we sort map in c++?
What is dynamic and static typing?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
When does the c++ compiler create temporary variables?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What can I safely assume about the initial values of variables which are not explicitly initialized?
Is it possible to provide special behavior for one instance of a template but not for other instances?
How are pointers type-cast?