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
Maile
24 days agoLucy
25 days agoKeneth
8 days agoKeneth
10 days agoRegenia
1 months agoMose
1 months agoTijuana
1 months agoGracia
24 hours agoDella
12 days agoLonny
17 days agoElke
1 months agoJulie
22 days agoJulie
1 months agoAnnett
1 months ago