title: inline functions vs normal functions
body: <p>I am fairly new to C and C++ and I am trying to understand about functions. I came across this term called inline function and understand it as when a function is declared inline, the compiler pastes the entire code in that function whenever and wherever it is called.</p>
  
  <p>I thought this is actually what happens at a function call but now realize that is not the case.</p>
  
  <p>Can someone explain in detail as to what happens at the compiler and system level when a normal function is called and an inline function is called?</p>
  
  <p>Any material on understanding this will be appreciated.</p>