Output of following program?
class A { protected: int a,b; public: void disp() { cout<<a<<b; } }; class B:public A { int x,y; };
(b).Compile time error
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(b).Compile time error
need an explanation for this answer? contact us directly to get an explanation for this answer