While it would be very convenient to use inline functions at some situations,
Are there any drawbacks with inline functions?
Conclusion:
As other people said that inline function can create a problem if the the code is large.As each instruction is stored in a specific memory location ,so overloading of inline function make a code to take more time to get exicuted.
there are few other situations where inline may not work