Q&A CBSE12A-2019-A01E #6959
Question:
Find and write the output of the following C++ program code:
Note: Assume all required header files are already included in the program.
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) ;
}
