Which of the following is true?
A) You can initialize data members of a class only in the class's constructor.
B) C++11 allows you to provide a default value for a data member when you declare it in the class declaration.
C) You cannot initialize data members of a class.
D) None of the above
Correct Answer:
Verified
Q3: Which of the following data types can
Q4: Which of the following is false?
A) The
Q5: Which of the following is false?
A) There
Q6: Float and double variables should be used:
A)
Q7: Consider the execution of the following for
Q9: Which of the following is correct when
Q10: Which of the following for headers is
Q11: Which of the following is a poor
Q12: Which of the following is false?
A) The
Q13: Which of the following does counter-controlled iteration
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