Menu BAR

FEEL FREE TO ASK ANY PROGRAM and please mention any error if you find it

20 Nov 2022

C++ Program to call the function

## 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=== 

Welcome to C++

No comments:

Post a Comment