What will be the output of the following pseudo code? Integer x, y, z, a Set x…
PYQ Infosys 2025
What will be the output of the following pseudo code?
Integer x, y, z, a
Set x = 2, y = 1, z = 5
a = (x AND y) OR (z + 1)
Print a
- A.
5
- B.
3
- C.
2
- D.
1
Attempted by 36 students.
Sign up free to check your answer
Sign up freeLoading lesson…