marks = 80; switch (marks) { case 60: grade = ‘C’; break; case 70: grade = ‘B’; break; case 80: grade = ‘A’; break; default: grade = ‘E’; }
What is the value of ‘grade’ after the switch statement is executed?
Answer & ExplanationOption: [A]
Article and Schedule Quiz | Start Test! |