MCQOPTIONS
Saved Bookmarks
| 1. |
Predict the output of following program fragment main ( ) { float balance, loan; balance =1000.0; loan = balance/10; if ((balance > 500) && ( loan < 500)) printf(“good account \n"); if((balance < 500) || (loan < 500)) printf(“caution ! \n"); } |
| A. | good account |
| B. | caution ! |
| C. | good account caution ! |
| D. | None of these |
| Answer» D. None of these | |