Correct Answer: 2
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
Which is a function that returns a non zero value to indicate an I/O stream error?
Consider the following code: class BaseException { public: virtual void Output() { cout << 'Base Exception' << endl; } }; class DerivedException : public BaseException { public: virtual void Output() { cout << 'Derived Exception' << endl; } }; void ExceptionTest() { try { throw new DerivedException(); } catch (DerivedException ex) { ex.Output(); } catch (...) { cout << 'Unknown Exception Thrown!' << endl; } } Invoking Exception Test will result in which output?
Consider the following code: class A { typedef int I; // private member I f(); friend I g(I); static I x; }; Which of the following are valid:
Suppose MyClass is a class that defines a copy constructor and overloads the assignment operator. In which of the following cases will the copy constructor of MyClass be called?
Which STL classes is deprecated (ie should no longer be used)
The >= is one of the __________ operators.
The -- operator ________.
The ________, also known as the address operator, returns the memory address of a variable.
"the ________ operator is used in c++ to test for equality.
The ________ of recursion is the number of times a recursive function calls itself.