Conditional control structure

Which statement is used to exit from the body of the switch statement?

 
 
 
 

Which statement can be used in place of the conditional operator?

 
 
 
 

Which statement is suitable to use in a situation where there are only two choices based on a condition?

 
 
 
 

Which of the selection structures tests only for equality?

 
 
 
 

For which purpose is the if structure used in programming?

 
 
 
 

What will be printed when the following code is executed?

X=1;
switch(x)
case 1:
case 2:
case 3:
printf(“x is a positive number”);
break;
default
printf(“value of x is 1”);

 
 
 
 

Which of the following is a multiple selection statement?

 
 
 
 

Which statement can be used in place of the switch statement?

 
 
 
 

Which statement can be used in place of the switch statement?

 
 
 
 

Question 1 of 9