Inline functions allow the compiler to copy the function code into the program instead of making a function call to reduce overhead. The inline keyword is placed before a function declaration to suggest to the compiler that it should inline the function code. Inline functions are good for small, often-used functions as it avoids the overhead of a function call.