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


Please Help Members By Posting Answers For Below Questions

What is fixed in c++?

657


What is object oriented programming (oop)?

731


Can member data be public?

687


How much do coding jobs pay?

643


What are iterators in c++?

680






How a pointer differs from a reference?

809


Explain what is oop?

704


What is the type of this pointer in c++?

724


What is the main purpose of c++?

644


What methods can be overridden in java?

757


What is a set in c++?

612


what are the types of Member Functions?

717


How did c++ get its name?

661


What are move semantics?

757


What is & in c++ function?

676