MCQs > IT & Programming > C++ > What is the output of following code? #include using namespace std; void Upwork(); int main() { try { Upwork(); } catch(double) { cerr<< 'Projects' <

C++ MCQs

What is the output of following code? #include <iostream> using namespace std; void Upwork(); int main() { try { Upwork(); } catch(double) { cerr<< "Projects" <<endl; } return 0; } void Upwork() { throw 3; }

Answer

Correct Answer: Running the code gives an unhandled exception.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it