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
Do the parentheses after the type name make a difference with new?
Explain class invariant.
What is flush () in c++?
What is else if syntax?
List the issue that the auto_ptr object handles?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What does I ++ mean in c++?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
Why do we use the using declaration?
What is the difference between cin.read() and cin.getline()?
Why do we use double in c++?
How do you flush a buffer in c++?
How can a called function determine the number of arguments that have been passed to it?
Is there a sort function in c++?
How come you find out if a linked-list is a cycle or not?