CPP > Beginner

Which of the following variables can be accessed without declaring any object of the class?

class MyClass
{
    private: int var_pr = 1;
    public: int var_pu = 1;
    public: static int var_s;
};
Answers :
Time Left
Question Number : /20
Please do not press back or refresh button during this test.

Login

Register

Next Question