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
6 months agoCarla
6 months agoGilberto
6 months agoCorrinne
6 months agoLaila
6 months agoDong
6 months ago