inline keyword to define inline function
This video tutorial explains the inline keyword in c++.
You will learn what is an inline function, how to define an inline function , working of the inline function in detail with example.
source code for this tutorial
#include <iostream> using namespace std; inline void display(int a){ cout << a << endl; } int main() { display(20); return 0; }