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
What is a local reference?
What does flush do c++?
What's the "software peter principleā?
Explain how overloading takes place in c++?
Why was c++ made?
what is Loop function? What are different types of Loops?
What is the main use of c++?
Is c better than c++?
Array base access faster or pointer base access is faster?
What is std :: flush?
What is c++ stringstream?
How do you write a function that can reverse a linked-list?
What is low level language in simple words?
How static variables and local variablesare similar and dissimilar?
What is c++ hiding?