1.

class x{int y; public:x(int z){y=z;} }x1[4];int main(){x x2(10);return 0;}How many objects are created for the above program?(a) 10(b) 14(c) 5(d) 2

Answer»

5 objects are created for the above program



Discussion

No Comment Found