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
Is c++ the most powerful language?
What are the advantages of using pointers in a program?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
Define a pointer to a data member of the type pointer to pointer?
How much do coding jobs pay?
What is the use of register keyword with the variables?
What it is and how it might be called (2 methods).
What is class invariant in c++?
Write a program using display() function which takes two arguments.
Why do we learn c++?
Is java a c++?
What is c++ prototype?
If you don’t declare a return value, what type of return value is assumed?
What is implicit pointer in c++?
Is c++ pass by reference or value?