EmbLogic's Blog

[Query][Assignment 2] Unexpected output

For the third question in the second assignment, the output has an extra character ‘S’ printed.
This indicates that the switch case with the value ’9′ was run. But there is no apparent code that puts 9 to the value of ‘c’.

Please guide me through the explanation. Here is the code.
Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>