Interview Question

Interview(Student Candidate)

What is an inline function?


Interview Answer

1 Answer


In C you can declare a function inline which indicates to the compiler to not generate a function call but to instead generate code in the calling function. This is often done for optimization, especially of short functions.

Joel on Feb 23, 2010

Add Answers or Comments

To comment on this, Sign In or Sign Up.