Question: C++ int X =5, y = 2; y = mixUp (x, y); cout < int mixUp (int &p, int t) //function definition { p=p*t; return

C++

int X =5, y = 2; y = mixUp (x, y); cout< int mixUp (int &p, int t) //function definition { p=p*t; return p + 1; }

WHY is the output 10? can you please explain why we winded up with 10 as output?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!