Find and write the output of …

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Find and write the output of the
following C++ program code: (3)
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(MN);
Convert(N);
Convert(M);
}
Posted by Deepshika Jawahar 5 years, 10 months ago
- 0 answers
ANSWER
Related Questions
Posted by Syedali Fathima 1 year, 6 months ago
- 1 answers
Posted by Hanni Pham 1 year, 5 months ago
- 1 answers
Posted by Hanni Pham 1 year, 5 months ago
- 0 answers
Posted by Priya Shukla 1 year, 6 months ago
- 1 answers
Posted by Prawar Narang 1 year, 7 months ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 7 months ago
- 2 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide