1.

Which among following is correct for initializing the class below?

A. student s[3]={ s(394, 9); s(394, 9); s(394,9); };
B. student s[2]={ s(394,9), s(222,5) };
C. student s[2]={ s1(392,9), s2(222,5) };
D. student s[2]={ s[392,9], s2[222,5] };
Answer» C. student s[2]={ s1(392,9), s2(222,5) };


Discussion

No Comment Found