Given condition 1: Class A is base class, and there are 5 other classes derived directly from this class (A1, A2, A3, A4 and A5). Each derived class has additional member int z defined in public section of each derived class.
Class A has 2 members declared in private section: <int x1> and <void getdata()>.
Class A has 4 members declared in protected section: <int p1, p2, p3, p4>.
Class A has 2 members declared in public section: <float r1, r2>.
All question further are based on this condition only. Assume every variable and every function takes exactly 1 block of memory.
.............................................................................................................................
Q1---In int main() function, if first line of code, how many memory blocks will be allocated after this line is executed.
................................................
A Student;