1
GB
What is the output: int f(int x=1,int y=2){ return x+y; } cout<
IN
आउटपुट क्या है: int f(int x=1,int y=2){ return x+y; } कोउट
A
3 5 7
3 5 7
B
357
357
C
Compile error
संकलन त्रुटि
D
125
125
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
f()=1+2=3, f(3)=3+2=5, f(3,4)=3+4=7. Concatenated: 357.
व्याख्या (हिन्दी)
f()=1+2=3, f(3)=3+2=5, f(3,4)=3+4=7. संयोजित: 357.