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
Answers were Sorted based on User's Feedback
What are structures and unions?
How is computer programming useful in real life?
Will the following program execute?
What is the function of I/O library in C++ ?
What is else if syntax?
Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.
What is a constructor in c++ with example?
How can you find the nodes with repetetive data in a linked list?
Is there a c++ certification?
What is size of null class?
What is the difference between inline functions and macros?
What is a singleton class c++?