## C++ Program to call the function ##
#include<iostream.h>
#include<conio.h>
class first
{
public:
void my()
{
cout<<"Welcome to C++";
}
};
void main()
{
first a;
a.my();
getch();
}
===OUTPUT===
#include<conio.h>
class first
{
public:
void my()
{
cout<<"Welcome to C++";
}
};
void main()
{
first a;
a.my();
getch();
}
===OUTPUT===
Welcome to C++