1.

Identify the error in the following code :switch (c){case 9.0 : a = a + 2;     break;Case 8.0 : a = a + 3;     break;}

Answer»

default case is missing in the given code which is used for performing a task when none of the cases are true.



Discussion

No Comment Found

Related InterviewSolutions