91
GB
What is the output: int x=0; for(int i=0;i<5;i++) x=x>i?x:i; cout<
IN
आउटपुट क्या है: int x=0; for(int i=0;ii?x:i; cout
A
4
4
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
x tracks max: 0,1,2,3,4. Final x=4. Output: 4.
व्याख्या (हिन्दी)
x ट्रैक अधिकतम: 0,1,2,3,4. अंतिम x=4. आउटपुट: 4.