Home Feedback Other Books Previous Day Next Day
Certification answer: Answer (b) is correct. The case 1 statement is not executed because c is equal to the character '1', not the integer value 1. The case 2 statement is not executed either, so the only statement executed is the default, which increments the value of x by 1.
Answers (a), (c), and (d) are incorrect.