Inline Functions
Understand inline functions in C++ language.
We'll cover the following
Problem
Define two inline functions min( )
and max( )
that return the minimum and maximum of two integers. Are inline functions a good idea?
Coding solution
Here is a solution to the problem above.
Get hands-on with 1400+ tech skills courses.