76
GB
What is the output: int x=0; cout<<(x||1)<<(x&&1)<<(!x);
IN
आउटपुट क्या है: int x=0; अदालत
A
101
101
B
010
010
C
100
100
D
Compile error
संकलन त्रुटि
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
0||1=1, 0&&1=0, !0=1. Output: 101.
व्याख्या (हिन्दी)
0||1=1, 0&&1=0, !0=1. आउटपुट: 101.