676
GB
What is the output: int x=123,y=0; while(x>0){y=y*10+x%10;x/=10;} cout<
IN
आउटपुट क्या है: int x=123,y=0; while(x>0){y=y*10+x%10;x/=10;} cout
A
321
321
B
123
123
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
3,2,1 -> y=3,32,321. Output: 321.
व्याख्या (हिन्दी)
3,2,1 -> y=3,32,321. आउटपुट: 321.