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