engineering computer science MCQ #2122

What is the output of `printf('%d', 3 && 0);`?

engineering computer science MCQ #2122

  1. Question 1

    Q1. What is the output of `printf('%d', 3 && 0);`?

    • A) 1
    • B) 0
    • C) Compilation Error
    • D) Runtime Error

    Answer: 0

    Explanation: Logical AND operation results in 0 because one operand is 0. NET computer science MCQs often test this core concept.