Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

SECTION IV: Identify the invalid c expression or choose \"all are valid\" . Assu

ID: 3904224 • Letter: S

Question

SECTION IV: Identify the invalid c expression or choose "all are valid" . Assume all variables are integer and non-zero. c) xm6-24 a) atb-0 e) all are valid b) c-a84 d) xf3r6+2 a) xxtyytzz b)26(ztztz)) c) hathatha e) all are valid d) x23-20.4 a) 0-0-0 e) all are valid b) mx+bb/c 10. a) anttint e) all are valid b) one+twx c) three 3 d) four/-4 3 a) -a+b-33 e) all are valid b) 3.487-ab ) scanf-3/3 d) xaab+-37 12 a) max33 e) all are valid b) CHAR-5 13. a) 3-x/z+4.3 b) a/b/cd e) all are valiod c) x+2-2 d) x2/x-77

Explanation / Answer

Answers:

7. e) all are valid

8. b) z%(%z%z%z)) extra right paranthesis.

9. c) xd-wd+2ax invalid suffix, 2ax is not allowed

10. a) ant+int int is reserved keyword for integer, thus int is not allowed

11 c) scanf-3/3   int is reserved keyword, thus scanf is not allowed

12. d) a*abc+ incomplete expression

13. d) x2/x-77 can not get square for x directly.