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 is ambagious result in C? explain with an example.
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
what is bitwise operator?
How do you view the path?
What should malloc(0) do?
What is an anonymous union and where to apply that ?
difference between my-strcpy and strcpy ?
3 Answers Geometric Software, IIM, Infosys,
What is array within structure?
While(1) { } when this loop get terminate is it a infinite loop?
main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }
Are negative numbers true in c?
Why does notstrcat(string, "!");Work?