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