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 are pointer-to-members? Explain.
Show the declaration for a static function pointer.
Why c++ is not a pure oop language?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
Why null pointer is used?
What is size of string in c++?
Explain the isa and hasa class relationships.
What is difference between n and endl in c++?
How are Structure passing and returning implemented by the compiler?
What is array in c++ pdf?
What is the size of integer variable?
What is the use of dot in c++?
How will you call C functions from C ++ and vice-versa?
What is meant by a delegate?
What is the difference between #import and #include in c++?