Which function will change the state of the object?
A) only set()
B) only display()
C) display() and set() both
D) none of the above
Correct Answer:
Verified
Q15: Can destuctors be private in C++?
Q16: What is value of size?
A)28
B)32
C)20
D)24
Q17: What value will be printed for data.i?
A)10
Q18: What is the compilation error for this
Q19: What will be the output of the
Q20: What is the output of the program?
A)0
Q22: What will be the output of the
Q23: The only integer that can be assigned
Q24: Which of the following feature is not
Q25: The operators that cannot be overloaded is
A)*
B)-
C)::
D)()
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