Which variable(s) is/are accessible in main() function?
class sample:
{
private:
int x;
protected:
int y;
public:
int z;
}
1
y
2
z
3
x
4
y और z
Which variable(s) is/are accessible in main() function?
class sample:
{
private:
int x;
protected:
int y;
public:
int z;
}