Question: Consider the following code block: void sub1(int h, int &j, int &i) { h+= 3; j = i*2; i = 3-1 +h; } void main()

 Consider the following code block: void sub1(int h, int &j, int

Consider the following code block: void sub1(int h, int &j, int &i) { h+= 3; j = i*2; i = 3-1 +h; } void main() { int m= 4, n = 2, k=5; sub1lk, n,m); print min; } Given the parameters passed to the subprogram, what is printed by the print statement in the program above? Please only enter the output values of the program in respective order separated by commas without space such as 0,0 min =

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!