Can we use condition in switch case?

Switch Case In C In a switch statement, we pass a variable holding a value in the statement. If the condition is matching to the value, the code under the condition is executed . The condition is represented by a keyword case, followed by the value which can be a character or an integer.

Sizin İçin Seçtik  Can we use or operator in switch case in C#?

Leave a Reply

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

Can we use condition in switch-case?

Switch Case In C In a switch statement, we pass a variable holding a value in the statement. If the condition is matching to the value, the code under the condition is executed . The condition is represented by a keyword case, followed by the value which can be a character or an integer.

Sizin İçin Seçtik  1000 Mbps nerede var?

Leave a Reply

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