Question: _12. Programs that detect and respond effectively to unexpected user input are formally referred to as programs. standard c. cost-effective b. robust d. abstract 13.

_12. Programs that detect and respond effectively to unexpected user input are formally referred to as programs. standard c. cost-effective b. robust d. abstract 13. is a valid statement in C. a = 10 = c = 25; C. 2 = b; a. b. a = b = c = 25; d. a - l = c; 14. The expression sum = sum + 10 can be written as sum =+ 10 c. sum = sum + + 10 a. b. sum += 10 d. sum ++ 10 15. It is a good practice to terminate the last case in a switch statement with a a. switch c. default d. case b. break 17S 240 - Exam / 3 . 16. In a switch statement, the word last else in an if-else chain. is optional and operates the same as the a. if c. case b. break d. default 17. What will the following program print on screen? Assume the proper header file is included and the main function has been declared. int tenure = -10; if (tenure + 5) printf("Congratulations!"); else printf ("Sorry"); a. Congratulations! c. Runtime error. error. b. Sorry d. Nothing; the program will not compile. 18. Which of the following operators has the lowest precedence? && a. ! c. b. * d. loop. a. inner 19. The second loop of a nested loop is called the c. slave d. conditioned b. outer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
