Computer Science, asked by ashwethalifecrazy, 8 months ago

8.Which variable(s) is/are accessible in main() function?class sample{ private: int x; protected: int y; public: int z;} *







Answers

Answered by sdupadhyay1256
3

Answer:

Which variable(s) is/are accessible in main () function? ... 4. 5. 6. 7. 8. 9. class sample. {. private : int x;. protected : int y;. public : int z;. } ...

Explanation:

please mark as brainleist

Similar questions