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
What is the use of dot in c++?
Show the application of a dynamic array with the help of an example.
What is the use of 'using' declaration in c++?
What is the difference between #define debug 0 and #undef debug?
What does namespace mean in c++?
Carry out conversion of one object of user-defined type to another?
What is the main purpose of c++?
What is the difference between a template and a macro?
What are pointers used for c++?
What is a vector c++?
What is purpose of abstract class?
Describe friend function & its advantages.
What are the important differences between c++ and java?
How do I run a program in notepad ++?
What are destructors?