76
GB
What is the output: int x=5; cout<<(x>0?(x>10?'H':'M'):'L');
IN
आउटपुट क्या है: int x=5; cout10?'H':'M'):'L');
A
M
एम
B
H
एच
C
L
एल
D
Compile error
संकलन त्रुटि
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
x>0=true; x>10=false; returns 'M'. Output: M.
व्याख्या (हिन्दी)
x>0=सत्य; x>10=गलत; 'एम' लौटाता है। आउटपुट: एम.