define switch statement?

Answers were Sorted based on User's Feedback



define switch statement?..

Answer / abirami

it is used to check the various type of cases in one program.

Is This Answer Correct ?    20 Yes 1 No

define switch statement?..

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

define switch statement?..

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

define switch statement?..

Answer / vijay

Its used to select the part of program to the execution

Is This Answer Correct ?    4 Yes 3 No

define switch statement?..

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

define switch statement?..

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

Post New Answer

More C Interview Questions

What are global variables?

0 Answers  


How can I find out how much free space is available on disk?

0 Answers  


Three major criteria of scheduling.

1 Answers  


program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.

3 Answers  


What is #include conio h?

0 Answers  






Where are local variables stored in c?

0 Answers  


to get a line of text and count the number of vowels in it

2 Answers  


What is #include stdio h and #include conio h?

0 Answers  


say the following declaration is correct nr not. int b=a,n=0;

4 Answers   Wipro,


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


How do you do dynamic memory allocation in C applications?

0 Answers  


Categories