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

Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Explain encapsulation in C++.

0 Answers   Verifone,


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


Is there a difference between class and struct?

0 Answers  


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  






How can a C function be called in a C++ program?

0 Answers  


Define namespace.

1 Answers  


Explain about Searching and sorting algorithms with complexities

0 Answers   Accenture,


In C++ what is a vtable and how does it work?

0 Answers   Agilent,


Explain function prototypes in C++.

0 Answers   Aricent,


How to input string in C++

0 Answers  


What does malloc return in C and C++?

0 Answers   Alter,


Categories