G
Q. Which of the following is true about destructors in C++?
In C++, a destructor has the same name as the class, preceded by a '~' symbol, and is called when an object is destroyed.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which is the correct syntax of defining a pure virtual function?
Q. Which of the following statement is correct?
Q. A continue statement causes execution to skip to
Q. Which of the following is the correct way to declare an array of 5 integers in C++?
Q. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ model is also known as linear sequential model.
Q. Can we have overloading of the function templates?
Q. What happens when delete is used for a NULL pointer? int *ptr = NULL; delete ptr;
Q. A constructor that accepts __________ parameters is called the default constructor.
Q. Which one of the following is not a valid reserved keyword in C++
Discusssion
Login to discuss.