Inline functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Inline functions

what are inline functions?

16th May 2017, 12:00 PM
Surjeet Singh Agre
Surjeet Singh Agre - avatar
1 Answer
+ 4
they get inserted in place where you use the function at compile time. most of the time the compiler will do this automatically during optimization if it thinks it should but you can specify this by using the inline keyword
16th May 2017, 12:09 PM
jay
jay - avatar