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 are pointers used for c++?
Do the parentheses after the type name make a difference with new?
Will rust take over c++?
wap to accept 10 numbers & display the number of odd and even numbers??
What is the difference between the functions rand(), random(), srand() and randomize()?
what is a class? Explain with an example.
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
What are manipulators used for?
What is a concrete class?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
Difference between inline functions and macros?
What is ios class in c++?