dinesh


{ City } trichy
< Country > india
* Profession * student
User No # 6468
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 2
Questions / { dinesh }
Questions Answers Category Views Company eMail




Answers / { dinesh }

Question { Lehman Brothers, 7829 }

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

address of a1 hello

Is This Answer Correct ?    2 Yes 2 No