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