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); }
4 Answers
+ 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
+ 2
Kindly run it on code playground and come back if you don't understand something.
+ 2
Thank you I understood the answer
0
This question is from my class 12 pre board question paper ,, and it's not running in "turboC7"