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
Describe the role of the c++ in the tradeoff of safety vs. Usability?
What are the operators in c++?
What are arithmetic operators?
How are Structure passing and returning implemented by the compiler?
What does return 0 do in c++?
What is a set in c++?
What are virtual constructors/destructors?
What are the benefits of c++?
What do you mean by “this” pointer?
Do vectors start at 0?
What it is and how it might be called (2 methods).
List the merits and demerits of declaring a nested class in C++?
What is #include iostream?
What is ios in c++?
Explain this pointer?