When is the destructor called?
No Answer is Posted For this Question
Be the First to Post Answer
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
How do I start a c++ project?
What is the difference between equal to (==) and assignment operator (=)?
What is a manipulative person?
Can I learn c++ in a week?
What is a smart pointer?
What is the best book for c++ beginners?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
How do you initialize a string in c++?
How the delete operator differs from the delete[]operator?
What is the use of the this pointer?
What is a storage class used in c++?