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 |
Define copy constructor.
What does it mean to declare a member function as static?
Are there any special rules about inlining?
Explain the operation of overloading of an assignment operator.
Is c++ the most powerful language?
What are compilers in c++?
Can non-public members of another instance of the class be retrieved by the method of the same class?
Which programming language is best?
What is the exit function in c++?
What is the difference between stack and heap memory?
Is c++ still being used?
How to declare an array of pointers to integer?