Can switch statement have same cases?

The switch statement can include any number of case instances . However, no two constant-expression values within the same switch statement can have the same value.

Sizin İçin Seçtik  Can enum be used in switch case in C?

Leave a Reply

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