Can I use string in switch case in C?

No you can’t . The case labels of a switch need to be compile time evaluable constant expressions with an integral type.

Sizin İçin Seçtik  Can I use string in Switch Case C++?

Leave a Reply

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