Professional Documents
Culture Documents
Lab 6
Lab 6
Submit the source files you wrote, and the screenshot of the results, to TA
through DingTalk message.
(Please create a zip file containing the C files and screenshot, filename format:
“student number + name.zip”)
(a) !1
(b) 0&&1
(c) 1 || 0
(d) ! 1 || 1
(e) ! (1 || 1)
(f) ! (1 && 1)
(g) ! 1 && 1
(h) ! 0 && 0
(i) ! (0 && 0)
(j) ! 1 || ! 1
Part 2: Boolean expressions
A C program has the following declarations:
(d) i == x
(e) k != z