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
Is recursion allowed in inline functions?
Write my own zero-argument manipulator that should work same as hex?
How is objective c different from c++?
What is the use of "new" operator?
Differentiate between a constructor and a method in C++.
Explain Text Manipulation Routines?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is #include c++?
Explain public, protected, private in c++?
Can I learn c++ without learning c?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is #include iostream in c++?
What is a far pointer? where we use it?
Why is the function main() special?
What is array in c++ example?