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

Write a C++ Program to Reverse a Number using while loop.

1 Answers  


What is a memory leak in C++?

0 Answers   Agilent,


What does it mean to declare a member function as virtual in C++?

0 Answers   Amazon,


What is meant by exit controlled loop?

0 Answers   Adobe,


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,






What is a constructor initializer list?

0 Answers   Amazon,


Explain the difference between C and C++.

0 Answers   Accenture,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


Find the Factorial of a number using a program.

0 Answers   Accenture,


What does it mean to take the address of a reference?

0 Answers   Amazon,


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

0 Answers   Amazon,


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  


Categories