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

What are manipulators used for?

1128


What is the use of turbo c++?

1107


What should main() return in c and c++?

1072


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6451


What is the basic structure of a c++ program?

1192


Which should be more useful: the protected and public virtuals?

1086


Are there any special rules about inlining?

1127


What are the characteristics of friend functions?

1072


Define the operators that can be used with a pointer.

1121


You run a shell on unix system. How would you tell which shell are you running?

1214


In the derived class, which data member of the base class are visible?

1161


Write my own zero-argument manipulator that should work same as hex?

1093


What is the limitation of cin while taking input for character array?

2157


Write a program to concatenate two strings.

1141


what is oops and list its features in c++?

1110