151
GB
What is the output: int x=5; cout<<(x^(x^0));
IN
आउटपुट क्या है: int x=5; अदालत
A
5
5
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
x^0=x; x^x=0... wait: x^(x^0)=x^x=0. Hmm. x^0=x; then x^x=0. Output: 0.
व्याख्या (हिन्दी)
x^0=x; x^x=0... प्रतीक्षा करें: x^(x^0)=x^x=0. हम्म। x^0=x; फिर x^x=0. आउटपुट: 0.