STL (140)
OOPS (873)
C++ General (2409) 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 9226what 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 681644Is there any difference between dlearations int* x and int *x? If so tell me the difference?
16 30990Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
PCS,
3 12635
Explain mutable storage class specifier.
When is the copy constructor called?
Are vectors passed by reference c++?
Why iomanip is used in c++?
Which bit wise operator is suitable for checking whether a particular bit is on or off?
Explain about templates of C++.
What are structures and unions?
What is an overflow error?
what is data abstraction in C++?
What is setfill c++?
What's the order in which the objects in an array are destructed?
What does new in c++ do?
How many different levels of pointers are there?
What is the difference between while and do while loop?
What is capacity in vector in c++?