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 |
What do you mean by storage classes?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What is Name Decoration?
Why null pointer is used?
What is pointer to array in c++?
What are the advantage of using register variables?
Why c++ is so important?
What is an html tag?
What are the advantages of prototyping?
What is an orthogonal base class in c++?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
How many namespaces are there in c++?