The switch statement | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

The switch statement

can anyone describe aboute the switch statement in C language.please help me.

15th Apr 2021, 7:05 AM
Rashmi Umesha
Rashmi Umesha - avatar
3 Answers
0
https://www.sololearn.com/learning/2924 It's there in the C course.
15th Apr 2021, 7:15 AM
Hima
Hima - avatar
2nd Jun 2021, 4:12 PM
Titanus Gojira
Titanus Gojira - avatar
0
It is very much similar to multiple if statements. It is better to use switch instead of multiple IFs. There are three types of control statements: Conditional (Selection) statements, Loop (Iterative) statements and jump statements. In conditional statements, u will study about switch... It is also used in C++ and C#...
11th Oct 2021, 11:42 AM
VIVEK VATS