Will the inline function be compiled as the inline function always? Justify.

Go down

Will the inline function be compiled as the inline function always? Justify.

Post  Admin on Sun Jan 31, 2010 5:48 pm

Answer:
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.

Admin
Admin

Posts : 71
Join date : 2010-01-21

View user profile http://campus-interview.co.cc

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum