Question: Given the following code: test(int k,int j){ k=k+1… SOLVED

$30.00 $24.00

Quantity

You'll get a: . zip file solution : immediately, after Payment

Description

Question: Given the following code: test(int k,int j){ k=k+1… SOLVED

5/5 - (2 votes)

Given the following code:

test(int k,int j){

k=k+1;

j=j+2;

}

m=5;

n=3;

test(m,n)

write m,n;

What values will be written for m and n respectively, using the following parameters pass methods?

  1. Passing by value result

2.Passing by reference

3.Passing by value

 

0