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 / gayatri p
Private
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Who invented turbo c++?
Do you know what is overriding?
Explain how we implement exception handling in c++?
How important is c++?
What is the c++ code?
How a new operator differs from the operator new?
What is a try block?
How do you clear a set in c++?
How do I tokenize a string in c++?
What is ostream in c++?
Why do we need runtime polymorphism in c++?
Can constructor be static in c++?
How much maximum can you allocate in a single call to malloc()?
What are dynamic type checking?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?