Conditional control structure

Which of the following is a multiple selection statement?

 
 
 
 

For which purpose is the if structure used in programming?

 
 
 
 

Which of the selection structures tests only for equality?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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 statement can be used in place of the conditional operator?

 
 
 
 

Question 1 of 9