class basex
{
int x;
public:
void setx(int y) {x=y;}
};
class derived : basex {};
What is the access level for the member function "setx" in
the class "derived" above?
a) private
b) local
c) global
d) public
e) protected
Answer Posted / guest
private
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the use of setprecision in c++?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
How do I write a c++ program?
What is the best book for c++ beginners?
Why was c++ made?
What is an overflow error?
Can you overload the operator+ for short integers?
What is function declaration in c++ with example?
What is enum class in c++?
Explain the uses of static class data?
What does new in c++ do?
What is lazy initialization in c++?
What do you mean by stack unwinding in c++?
What language is a dll written in?
What are multiple inheritances (virtual inheritance)?