Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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;

Answer Posted / saranya

Hello World

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use struct in c++?

968


Mention the ways in which parameterized can be invoked.

891


What is oop in c++?

1033


What is the difference between ++ count and count ++?

1084


How can you link a c program with a c function?

1005


What is the purpose of templates in c++?

987


Will rust take over c++?

1001


Discussion on error handling of C++ .

1066


What is a container class? What are the types of container classes in c++?

1153


What is virtual base class uses?

1242


Can I run c program in turbo c++?

968


Search for: what is pair in c++?

1070


Which of the following is evaluated first: a) && b) || c) !

2305


Which software is best for programming?

1096


What is the history of c++?

998