MCQShareWhat is the output of the following piece of code?A0 1 2 3 BAn exception is thrownC0 1 1 2 3 ✓0 1 1 2