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 does new in c++ do?
What is the purpose of extern storage specifier?
What is a dynamic binding in c++?
Explain the operation of overloading of an assignment operator.
Explain storage qualifiers in c++.
What is a catch statement?
how to connect with oracle 9i with server in socket program in c/c++
What is the difference between c++ and turbo c++?
What is the best book for c++ beginners?
Name the implicit member functions of a class.
How can you specify a class in C++?
Define whitespace in C++.
How do I exit turbo c++?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What is a constant reference?