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


Please Help Members By Posting Answers For Below Questions

What are pointer-to-members? Explain.

716


Show the declaration for a static function pointer.

660


Why c++ is not a pure oop language?

621


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3293


Why null pointer is used?

673






What is size of string in c++?

650


Explain the isa and hasa class relationships.

676


What is difference between n and endl in c++?

661


How are Structure passing and returning implemented by the compiler?

700


What is array in c++ pdf?

658


What is the size of integer variable?

685


What is the use of dot in c++?

712


How will you call C functions from C ++ and vice-versa?

748


What is meant by a delegate?

713


What is the difference between #import and #include in c++?

692