+ 1
What is switch function
4 Respostas
0
Switch function is a pre built-in function of c and many other programming language the mainly use of it is to maximize the number of expectations to the assigned value of variable by user
+ 6
You've already started both c and c++ course. So you should find about switch statement there.
+ 5
As Minho 🇰🇷 said, u will be learning switch-case stmts in the c/c++ lesson itself.
https://www.sololearn.com/Discuss/58748/?ref=app
+ 1
A switch control structure is a statement, not a function.
https://en.wikipedia.org/wiki/Switch_statement?wprov=sfla1
Anyway it works like a bunch of 'if else' lined up