The functions or data members declared in the private: section of a class can be accessed only in the definition those functions declared in that class.Note that friend functions are also declared (but not defined)in the class to which they are friends,so they also have access to private as well as public members.
Correct Answer:
Verified
Q9: A constructor is always named construct with
Q10: It is valid to initialize member variables
Q11: A static variable of a class cannot
Q12: The keyword static is used in a
Q13: size and capacity of a vector are
Q15: Any use of the keyword const is
Q17: Vector assignment is well behaved.
Q17: You can write a class that is
Q18: A constructor can be called implicitly or
Q19: Inline functions are always more efficent than
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents