Conditional control structure

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

Which of the selection structures tests only for equality?

 
 
 
 

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

 
 
 
 

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”);

 
 
 
 

For which purpose is the if structure used in programming?

 
 
 
 

Which of the following is a multiple selection statement?

 
 
 
 

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

 
 
 
 

Question 1 of 9