Fundamental Programming Operators & Expressions Beginner
Q In C, what does if (x = 0) { puts("zero"); } do?
  • A It assigns 0 to x and the body never executes
  • B It always prints 'zero'
  • C Compilation error
  • D It prints 'zero' if x was 0
Leave a Comment