Question PSC-OPS-0001
EasyWhat will be the output of the following pseudocode?
Integer a = 17, b = 5
Print a / b // integer division
- A.
3.4
- B.
3
- C.
Show answer and explanation
Answer: B
Integer division discards the fractional part: 17 / 5 = 3.