Inline function:
By DarshanH5
1
0
0
  • Random
  • computer
  • function
  • programing

Description

Inline function: An inline function is an important feature of c++, this function is commonly used with class, the function is called using a keyword inline. EXAMPLE FOR INLINE FUNCTION: #include<iostream> Using namespace std; Inline int max(int x, int y) { Return a>b?a:b; } Int main() { Cout<<max(10,10); Cout<<""<<max(90,30); Return 0; } Remember if a function cannot be inlined, that function is called a normal function. Read More https://www.interesting321.com/2019/06/inline-function-in-c_3.html

What is Inline function

Continue Reading on Wattpad
Inline fu...
by DarshanH5
1
0
0
Wattpad