If you add inline keyword before a function it becomes inline
It is said that Inline functions can help optimize execution time.
Difference between normal & inline :
In case of inline : compiler replaces the function call statement with the function code itself (process called expansion) and then compiles the entire code
If Still unclear please check following image to make things a bit easy :
There are several articles explaining the concept, but i would suggest following ones, please go through: