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