What is the use of "new" operator?
No Answer is Posted For this Question
Be the First to Post Answer
What are the various operations performed on stack?
When the design recommends static functions?
Can a built-in function be recursive?
Explain about Virtual Function in C++?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
Is map ordered c++?
What are abstract data types in c++?
Explain explicit container.
What is the output of this prog. ? struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } };
What is RTRT tool?can it be used for automation?can it work on packet PC?
Explain "const" reference arguments in function?
What is the outcome of cout< a) 16 b) 17 c) 16.5