Write about the access privileges in c++ and also mention about its default access level?
No Answer is Posted For this Question
Be the First to Post Answer
What are activex and ole?
What is tellg () in c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is static function? Explain with an example
What is setf in c++?
Ask to write virtual base class code?
What is pointer to member?
What is the use of static functions?
Is there a datatype string in c++?How is the memory allocation?
What is implicit pointer in c++?
What is the difference between an array and a list?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.