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 are inbuilt functions in c?
explain how do you use macro?
Write a function in c to find the area of a triangle whose length of three sides is given.
what is event driven software and what is procedural driven software?
What is an example of structure?
write a programe returns the number of times the character appears in the string
How can I do peek and poke in c?
why java is called as a purely oops language.
How can I get random integers in a certain range?
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
How to draw the flowchart for structure programs?
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
18 Answers Acropolis, HCL, Intel, TCS,