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; }
Correct Answer: Running the code gives an unhandled exception.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C++ MCQ Questions