posted 22 years ago
Hi Shah,
I don't really understand your question because the case expression must be an integer literal or at least able to be defined at compile time. If you mean can you mix integer literal case expressions with character literal case expressions in the same switch statement, then the answer is yes!
Above code is valid.
Regards,
Manfred.