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 latest c++ standard?
Define Virtual function in C++.
What is setw manipulator in c++?
What is the use of string in c++?
an integer constant must have atleast one a) character b) digit c) decimal point
What are static and dynamic type checking?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Is c++ map a hash table?
What is the fastest c++ compiler?
Should the this pointer can be used in the constructor?
What are the advantages of early binding?
What are the four partitions in which c++ compiler divides the ram?
Can you pass a vector to a function?
What can I use instead of namespace std?
How long will it take to learn programming?