What is mean inline function | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is mean inline function

13th Oct 2016, 8:24 PM
shivani
shivani - avatar
2 Respostas
+ 1
Inline functions are functions that are put in the code a bit differently. Usually the code for a function is put separate from the the code that is calling it. The code of a inline function is inserted at the place where it's called. This is supposed to be faster as no call and return statements have to be executed. Still, the additional code might lead to longer loading time.
14th Oct 2016, 9:23 AM
Stefan
Stefan - avatar
0
The compiler replace the function call with the corresponding function code
14th Oct 2016, 6:30 PM
sachin