In the above program, which is/are the possible reason(s) for not generating the output?
Class A
{
public: void display()
{
printf("This is class A");
}
};
void main()
{
A a1; a1.display();
getch();
}
Reveal answer
Fill a bubble to check yourself