Check out example codes for "non inline function in c++". It will help you in understanding the concepts better.

Code Example 1

class S 
{ 
public: 
    int square(int s); // declare the function 
}; 
  
inline int S::square(int s) // use inline prefix 
{ 
  
}

Learn ReactJs, React Native from akashmittal.com