please answer me this question:

how is the memory allocated for this:

class A
{
int a;
int b;
float c;
void finc();
virtual func1();
}

A *ptr = new A