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 lambda in c++?
What are the four main data types?
Is c++ slower than c?
What are the 4 types of library?
How does code-bloating occur in c++?
What is one dimensional array in c++?
To which numbering system can the binary number 1101100100111100 be easily converted to?
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....
If there are two catch statements, one for base and one for derived, which should come first?
What is the exit function in c++?
Difference between pointer to constant vs. Pointer constant
Which programming language's unsatisfactory performance led to the discovery of c++?
Difference between overloading vs. Overriding
What is late binding c++?
Differentiate between an inspector and a mutator ?