Which of the followings is/are automatically added to every class, if we do not write our own.
A) copy constructor
B) assignment operator
C) a constructor without any parameter
D) all of the above
Correct Answer:
Verified
Q13: class Test { int x;};int main(){Test t;
Q14: Which of the following is true?
A)all objects
Q15: Which of the following is true about
Q16: Which of the following is true about
Q17: Predict the output?#include <iostream> using namespace std;class
Q18: What happens when delete is used for
Q19: Is it fine to call delete twice
Q21: Output of following program?#include<iostream> using namespace std;
Q22: #include<iostream> using namespace std; class Point {public:Point()
Q23: #include<iostream> using namespace std;class X{public:int x;};int main(){X
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