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 |
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
Define pure virtual function?
What is a flag in c++?
What is a string example?
How many bit combinations are there in a byte?
What are the differences between java and c++?
What things would you remember while making an interface?
How do you differentiate between overloading the prefix and postfix increments?
What is the difference between delegation and implemented-in-terms-of?
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number?
What is == in programming?
Is string an object in c++?