Share
Explore BrainMass

int fun(int *k) Results Explaination

Need help with Programming question.

Run the code given in Problem on some system that support C to determine the value of sum1 and sum2. Explain the results.

Let the function fun be defined as

int fun(int *k) {
*k += 4;
Return 3 * (*k) - 1;
}

Attachments

$2.19