class C { public: std::string a; int b; }; ... C c0; c0. a = "abc"; c0. b = 0; C c1 (c0) Which of the following statements is true?
A) c1. a is properly initialized, but c1. b is not.
B) c1. b is properly initialized, but c1. a is not.
C) both c1. a and c1. b are properly initialized.
D) neither c1. a nor c1. b are properly initialized.
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “If the following code is executed: class C { public: std::string a; int b; }; ... C c0; c0. a = "abc"; c0. b = 0; C c1 (c0) Which of the ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » If the following code is executed: class C { public: std::string a; int b; }; ... C c0; c0. a = "abc"; c0. b = 0; C c1 (c0) Which of the following statements is true? A) c1. a is properly initialized, but c1. b is not. B) c1.