Will the inline function be compiled as the inline function always? Justify.
Answer / atul shankhwar
An inline function is a request and not a command. Hence it won't be compiled as an inline function always.
Explanation:
Inline-expansion could fail if the inline function contains loops, the address of an inline function is used, or an inline function is called in a complex expression. The rules for inlining are compiler dependent.
| Is This Answer Correct ? | 1 Yes | 1 No |
How Virtual functions call up is maintained?
Is c++ low level?
What does std :: flush do?
Is java easier than c++?
What are the types of array in c++?
What are pointer-to-members? Explain.
Explain differences between new() and delete()?
What is the error in the code below and how should it be corrected?
What is endl c++?
Have you used MSVC? What do you think of it?
Why was c++ created?
what are the iterator and generic algorithms.