define switch statement?
Answers were Sorted based on User's Feedback
Answer / abirami
it is used to check the various type of cases in one program.
| Is This Answer Correct ? | 20 Yes | 1 No |
Answer / krishna
Switch statement is a selection statement which is used in a situation where there exists various cases and one needs to jump over to the required statement without executing the precedence statements
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / d.jeswanth
switch statement can be defined as " it can choose a
related option from the multiple options ".it belongs to
control and conditonal statements.
*************thank you************
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vijay
Its used to select the part of program to the execution
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / amit
A switch statement is a selection statement that lets you
transfer control to different statements within the switch
body depending on the value of the switch expression. The
switch expression must evaluate to an integral or enumeration
value.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / amit
A switch statement is a selection statement that lets you
transfer control to different statements within the switch
body depending on the value of the switch expression. The
switch expression must evaluate to an integral or enumeration
value.
| Is This Answer Correct ? | 0 Yes | 0 No |
What’s a signal? Explain what do I use signals for?
How can we allocate array or structure bigger than 64kb?
what is reason of your company position's in india no. 1.
Can you write a programmer for FACTORIAL using recursion?
Explain the difference between fopen() and freopen().
program for swapping two strings by using pointers in c language
Why is sprintf unsafe?
Should a function contain a return statement if it does not return a value?
write a program to sort the elements in a given array in c language
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
How do you view the path?
Is c is a high level language?