Which statement in this code is unreachable in switch(x) ? { case 1: a1 = 100;…

PYQ DSSSB 2021

Which statement in this code is unreachable in switch(x) ? { case 1: a1 = 100; case 2: a2 = 1000; a3 = 10; break; a4 = 10000; }

  1. A.

    a1 = 100;

  2. B.

    a2 = 1000;

  3. C.

    a3 = 10;

  4. D.

    a4 = 10000;

Attempted by 1224 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…