What is the use of "new" operator?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are the various operations performed on stack?

0 Answers  


When the design recommends static functions?

2 Answers   Symphony,


Can a built-in function be recursive?

0 Answers  


Explain about Virtual Function in C++?

0 Answers  


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.

5 Answers   GE,






Is map ordered c++?

0 Answers  


What are abstract data types in c++?

0 Answers  


Explain explicit container.

0 Answers  


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\"; } };

2 Answers  


What is RTRT tool?can it be used for automation?can it work on packet PC?

3 Answers  


Explain "const" reference arguments in function?

0 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

0 Answers  


Categories