Internet is an important invention of modern era and Internet is the world most powerful tools Internet had made everyone's life very easy simple as we no longer need to go out for Bills shopping watching movie business transaction etc it has been an essential part of our life it is used everywhere such as work place of office schools colleges banks education institutes training centre shops railway station airport restaurant hotels malls and most importantly every members home in used it is highly beneficial for student businessman government agencies research organisation etc student can search for any necessary information for their studies businessman can deal with their business matter from one place government agency can do their work in a reasonable time research organisation can do more research result etc. THAT'S All. Thank you ❤️
1. Write the shorts notes on Garbage collection. Ans. Garbage collection in C++ isn't native to the language; it relies on manual memory management using constructs like new and delete . However, some third-party libraries or smart pointers like std::shared_ptr and std::unique_ptr offer automated memory management. C++11 introduced smart pointers, reducing manual memory handling but lacking the automatic garbage collection found in languages like Java or Python. 2. What is multiple heritance? Ans. Multiple inheritance in C++ enables a class to inherit attributes and behaviors from more than one base class. It allows a derived class to access features from multiple parent classes, fostering complex class hierarchies but potentially causing issues like the diamond problem due to ambiguous member access. 3. What do you mean by operator overloading ? Ans. Operator overloading in C++ allows defining custom behaviors for operators like +, -, *, etc., for user-defined types. It enable
Comments
Post a Comment