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 Switch case be used for strings 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  Jogger Dacia ne zaman gelecek?

Leave a Reply

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