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
Describe exception handling concept with an example?
What is the best c++ compiler?
Differentiate between a template class and class template in c++?
Will the following program execute?
Explain the different access specifiers for the class member in c++.
What relational operators if statements in c++?
What is the difference between multiple and multilevel inheritance in c++?
What is srand c++?
What is #include cmath?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
Differentiate between an array and a list?
Eplain extern keyword?
Explain how an exception handler is defined and invoked in a Program.
What data encapsulation is in c++?
Explain what is polymorphism in c++?