What is the output of `int x = 5; printf('%d', ~x)`?
Q1. What is the output of `int x = 5; printf('%d', ~x)`?
Answer: -6
Explanation: Bitwise NOT operation: ~5 = -6 (two's complement representation). NET computer science MCQs often test this core concept.