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
Write a C++ Program to check whether a number is prime number or not?
How the virtual functions maintain the call up?
Explain the difference between static and dynamic binding of functions?
When does a name clash occur in c++?
What is setf in c++?
What is a dangling pointer in c++?
Evaulate: 22%5 a) 2 b) 4 c) 0
Can char be a number c++?
What is an accessor in c++?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
what is oops and list its features in c++?
What is else if syntax?
Explain about vectors in c ++?
Explain Memory Allocation in C/C++ ?
Which sort does c++ use?