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

What is an inline function?

an inline function is used to define macros ex:inline square(x) return x*x:

1st May 2018, 6:26 AM
V S Dhiraj
1 Resposta
+ 5
What's the point if you post a question and then go on to answer the question yourself in the description section? Please be clear with your objective or remove this post. Yes, we do realise that you understood the "inline functions" concept. https://www.sololearn.com/discuss/333866/?ref=app "The inline functions are a C++enhancement feature to increase the execution time of a program.Functions can be instructed to compiler to make them inline so that compiler can replace those functiondefinition wherever those are being called."
1st May 2018, 6:30 AM
Rahul George
Rahul George - avatar