Will the inline function be compiled as the inline function always? Justify.
Answer Posted / 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 |
Post New Answer View All Answers
What is fixed in c++?
What is object oriented programming (oop)?
Can member data be public?
How much do coding jobs pay?
What are iterators in c++?
How a pointer differs from a reference?
Explain what is oop?
What is the type of this pointer in c++?
What is the main purpose of c++?
What methods can be overridden in java?
What is a set in c++?
what are the types of Member Functions?
How did c++ get its name?
What are move semantics?
What is & in c++ function?