136
GB
What is the output: int x=0b11111111; cout<<(x&0x55)+(x&0xAA);
IN
आउटपुट क्या है: int x=0b11111111; अदालत
A
255
255
B
128
128
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
0x55=85, 0xAA=170. x&0x55=85, x&0xAA=170. 85+170=255. Output: 255.
व्याख्या (हिन्दी)
0x55=85, 0xAA=170. x&0x55=85, x&0xAA=170. 85+170=255. आउटपुट: 255.