//P-13 : Inline function
//A function which expand in a line is called inline function
#include <iostream.h>
#include <conio.h>
inline void display()
{
cout << "Welcome to Inline function";
}
void main()
{
clrscr();
display();
ghetch();
}
//P-13 : Inline function
//A function which expand in a line is called inline function
#include <iostream.h>
#include <conio.h>
inline void display()
{
cout << "Welcome to Inline function";
}
void main()
{
clrscr();
display();
ghetch();
}
Comments
Post a Comment