2. Inline function
Keyword inline before function
Asks the compiler to copy code into program instead of making function call
Reduce function-call overhead
Compiler can ignore inline
Good for small, often-used functions
inline double cube(double s ){
return s * s * s;
}