1546
GB
What is the output: int x=5; cout<<(-1*x)<<(~x+1);
IN
आउटपुट क्या है: int x=5; अदालत
A
-5-5
-5-5
B
5-6
5-6
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
-1*5=-5; ~5+1=-5. Output: -5-5.
व्याख्या (हिन्दी)
-1*5=-5; ~5+1=-5. आउटपुट: -5-5.