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;
4 7841what is the main difference between c and c++?
AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,
386 593062Is there any difference between dlearations int* x and int *x? If so tell me the difference?
16 25171Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
PCS,
3 11157
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
In C++ what is the meaning of data hiding?
Why do we use polymorphism in oops?
Why is polymorphism needed?
What two types of containers does the stl provide?
Explain the difference between c & c++?
What are the 4 types of library?
What is fixed in c++?
Write a note about the virtual member function?
Is c++ used anymore?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
What is c++ programming language?
What is an advantage of polymorphism?
What is encapsulation example?
What are files in c++?