What is the output of:
String a1 = "Hello";
String a2 = "world!";
String* s1 = &a2;
String& s2 = a1;
s1 = &a1;
s2 = a2;
std::cout << *s1 << " " << s2 << std::endl;
Post New Answer View All Answers
Differentiate between a constructor and a destructor in c++.
Is vector a class in c++?
What is a static member?
What methods can be overridden in java?
What is size_type?
what is C++ objects?
What is abstraction in c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Is c++ a float?
What is rtti in c++?
What is fixed in c++?
What is flush () in c++?
Why was c++ created?
What do you mean by vtable and vptr in c++?
Define what is constructor?