Will the next code be compiled?
typedef int my_int;

struct A {
  A() throw(int, my_int) {}
};
Explanation
Yes, because the types on the exception list can be repeated.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes