Can inline functions have a recursion? Give the reason?
Answer Posted / siva
I have tested The answer is....
Yes, you can use but Not preferable.
Inline functions are expanded as macros at compile time.
Generally inline is used if the function has fewer lines of
code.
Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
When there is a global variable and local variable with the same name, how will you access the global variable?
How to allocate memory dynamically for a reference?
Explain the concept of memory leak?
What are the operators in c++?
What is a float in c++?
What are the benefits of operator overloading?
Can create new c++ operators?
Can a constructor be private?
Can we declare a base-class destructor as virtual?
In the derived class, which data member of the base class are visible?
What is a list c++?
Can you pass an array to a function in c++?
What is iostream in c++ used for?
What is c++ and its features?
Which is the best c++ software?