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
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What are the advantages of prototyping?
Are c and c++ different?
What is the benefit of learning c++?
Can you Mention some Application of C/C++?
What is near, far and huge pointers? How many bytes are occupied by them?
What is c strings syntax?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Eplain extern keyword?
What is the purpose of extern storage specifier?
Do you know what are pure virtual functions?
What is c++ runtime?
Describe exception handling concept with an example?
Explain unexpected() function?
We use library functions in the program, in what form they are provided to the program?