Explain differences between new() and delete()?


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

Post New Answer

More C++ General Interview Questions

Is map thread safe c++?

0 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,


Write a function which takes a character array as input and reverses it in place.

2 Answers   Lehman Brothers, Vision Infotech,


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

0 Answers   TCS,


What is a sequence in c++?

0 Answers  






template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


what is object?

7 Answers  


There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?

1 Answers   TCS,


How do you clear a map in c++?

0 Answers  


What is doubly linked list in c++?

0 Answers  


What is an inline function in c++?

0 Answers  


How many types of scopes are there in c++?

0 Answers  


Categories