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
What is c++ in english?
Explain the difference between c & c++?
Write a program in C++ for Fibonacci series
How do you print a string on the printer?
Why is it called c++?
Name the operators that cannot be overloaded in C++?
How do I make turbo c++ full screen?
Should I learn c or c++ first?
Is turbo c++ free?
Difference between inline functions and macros?
How many characters are recognized by ANSI C++?
What is a singleton c++?
What is while loops?
Is c++ free?
How to get the current position of the file pointer?