What is wrong with this statement? std::auto_ptr ptr(new char[10]);


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

Post New Answer

More C++ Interview Questions

Explain encapsulation in C++.

0 Answers   Verifone,


What is data abstraction? How is it implemented in C++?

0 Answers   Amdocs,


Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


Define an Abstract class in C++?

0 Answers  


What is a memory leak in C++?

0 Answers   Agilent,






What is the purpose of a constructor? Destructor?

0 Answers   Amazon,


What is pass by value & reference.

0 Answers   Accenture,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


How does free know the size of memory to be deleted

0 Answers  


Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70

1 Answers  


Write a C++ Program to Find Sum and Average of three numbers.

1 Answers  


If class D is derived from a base class B

0 Answers  


Categories