Correct Answer: ++ and --
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
________ must be included in any program that uses the cout object.
A catch block can have, at most, ____ catch block parameter(s).
A class ____ automatically executes whenever a class object goes out of scope.
A destructor has the character ____, followed by the name of the class.
A function ________ contains the statements that make up the function.
Output of the following code? class A { public: A():pData(0){} ~A(){} int operator ++() { pData++; cout << 'In first '; return pData; } int operator ++(int) { pData++; cout << 'In second '; return pData; } private: int pData; }; void main() { A a; cout << a++; cout << ++a; }
If input and output operations have to be performed on a file, an object of the _______ class should be created.
Answer the question that follows: char **foo; /* Missing code goes here */ for(int i = 0; i < 200; i++) { foo[i] = new char[100]; } Referring to the sample code above, what is the missing line of code?
Which of the following STL classes is deprecated (i.e should no longer be used)?
which of the following is true.