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
Write a C++ Program to Reverse a Number using while loop.
What is a memory leak in C++?
What does it mean to declare a member function as virtual in C++?
What is meant by exit controlled loop?
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
What is a constructor initializer list?
Explain the difference between C and C++.
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Find the Factorial of a number using a program.
What does it mean to take the address of a reference?
What are the major differences between C and C++?
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