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
How do you clear a buffer in c++?
Does c++ have a hash table?
Can you pass a vector to a function?
What is a multimap c++?
How can we read/write Structures from/to data files?
What are formatting flags in ios class?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What is a base class?
What is vector pair in c++?
What is the use of structure in c++?
What is private, public and protected inheritance?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
What is a tree in c++?
What are the various oops concepts in c++?
What do you mean by volatile and mutable keywords used in c++?