Identify the data member or the member variables in the above program.
class A
{
public: int a;
void display()
{
cout<<"Enter the value in a";
cin>>a;
}
};
void main()
{
A a1; a1.display();
getch();
}
Reveal answer
Fill a bubble to check yourself