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

What is a memory leak in C++?

0 Answers   Agilent,


Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


Factory Method C++ – How to delete pointers returned by it

0 Answers  


What are string library functions(syntax).

0 Answers   Accenture,


What is the difference between an ARRAY and a LIST in C++?

0 Answers   IBS, TCS,






It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,


How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


What is a virtual base class?

6 Answers   Fidelity, Siemens,


Can we use THIS Pointer in static function – Reason in C++?

0 Answers  


In C++ what is the meaning of data hiding?

0 Answers   Aricent,


What are the major differences between C and C++?

0 Answers   Amazon,


Can we call a virtual function from a constructor?

1 Answers  


Categories