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
What is the difference between an external iterator and an internal iterator?
How can I learn dev c++ programming?
Which c++ compiler is best?
What are virtual functions in c++?
Can you overload the operator+ for short integers?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What is basic if statement syntax?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What is guard code in c++?
What is the most common mistake on c++ and oo projects?
What is the difference between the functions memmove() and memcpy()?
What is oop in c++?
What is an undefined behavior and sequence points
Write a c program for binary addition of two 8 bit numbers.