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
Is c++ vector a linked list?
Who calls main function?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What is the disadvantage of using a macro?
Why do we use vector in c++?
Explain about templates of C++.
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
What are the differences between a struct in C and in C++?
What are the basic data types used in c++?
Explain stack unwinding.
Is c++ a pure oop language?
What is the extension of c++?