What will variable "y" be in class B?
class A {
int x;
protected:
int y;
public:
int age;
};
class B : public A {
string name;
void Print() {
cout << name << age;
}
Limited Time Offer
25%
Off
Laila
9 months agoCarla
9 months agoGilberto
9 months agoCorrinne
9 months agoLaila
9 months agoDong
9 months ago