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