Publicité
A) member functions B) member variables C) constructor and destructor.docx
Prochain SlideShare
A good reason for overloading an operator is to enable it to A) outper.docxA good reason for overloading an operator is to enable it to A) outper.docx
Chargement dans ... 3
1 sur 1
Publicité

Contenu connexe

Plus de andyb37(20)

Publicité

A) member functions B) member variables C) constructor and destructor.docx

  1. A) member functions B) member variables C) constructor and destructor functions D) All of these E) None of these type of member variable may be accessed before any objects of the class have been created. 2) This A) private B) public C) inline D) static None of these 3) This operator may be used to assign one object to another. A) D) e E) None of these 4) CH requires that a copy cons parameter be a(n) A) integer data type B) floating point data type pointer variable D) reference object E) None of these 5) C++ allows you to redefine the way work when used with class objects A) compiler errors E) preprocessor directives C) standard operators D) undefined variables E) None of these 6 When objects contain pointers, it is a good idea to create an explicit function. A) insertion operator copy constructor static constructor D) inline constructor E) None of these Solution 1.b) member variable 2 d) static 3 a) = 4 d) reference object 5 c) standard operators 6 b) copy constructor
Publicité