0

Find the output

void Convert(float &X,int Y=2) { X=X/Y; Y=X+Y; cout<<X<<"*"<<Y<<endl; } void main() { float M=15,N=5; Convert(M,N); Convert(N); Convert(M); }

13th Dec 2019, 2:21 PM
Prashant Uniyal
Prashant Uniyal - avatar
4 Respuestas
+ 2
I told you to run it on code playground here on sololearn. Run this and see if you understand it. https://code.sololearn.com/cZL9q5I4a58M/?ref=app
14th Dec 2019, 6:02 AM
Avinesh
Avinesh - avatar
+ 2
Kindly run it on code playground and come back if you don't understand something.
13th Dec 2019, 6:30 PM
Avinesh
Avinesh - avatar
+ 2
Thank you I understood the answer
14th Dec 2019, 7:18 AM
Prashant Uniyal
Prashant Uniyal - avatar
0
This question is from my class 12 pre board question paper ,, and it's not running in "turboC7"
14th Dec 2019, 5:58 AM
Prashant Uniyal
Prashant Uniyal - avatar