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
Ria
14 days agoAndra
18 days agoEsteban
4 days agoFreeman
7 days agoMeghann
25 days agoMerlyn
2 days agoMarget
4 days agoBenedict
7 days agoVilma
8 days agoBilly
14 days agoBarrie
1 months agoChandra
1 months agoLuisa
9 days agoDona
16 days agoBea
25 days agoMinna
2 months agoPearlie
2 months ago