What data types can be used in a switch statement C?

1) The expression used in switch must be integral type ( int, char and enum) . Any other type of expression is not allowed.

Sizin İçin Seçtik  Can we use methods in switch-case?

Leave a Reply

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