subject
Mathematics, 28.07.2019 11:00 oranzajimenez

Let the function fun be defined as int fun(int *k) { *k += 4; return 3 * (*k) - 1; } suppose fun is used in a program as follows: void main() { int i = 10, j = 10, sum1, sum2; sum1 = (i / 2) + fun(& i); sum2 = fun(& j) + (j / 2); } what are the values of sum1 and sum2

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 17:30, BreBreDoeCCx
If the class was going to get a class pet and 5 picked fish and 7 pick bird and 8 picked rabbits have many students were in the
Answers: 1
image
Mathematics, 21.06.2019 17:30, dejaproctor17
Graph the equation. select integers for x
Answers: 1
image
Mathematics, 21.06.2019 19:00, haileysolis5
Arestaurant chef made 1 1/2 jars of pasta sauce. each serving of pasta requires 1/2 of a jar of sauce. how many servings of pasta will the chef be bale to prepare using the sauce?
Answers: 3
image
Mathematics, 21.06.2019 21:50, Brittany0512
Prism m and pyramid n have the same base area and the same height. cylinder p and prism q have the same height and the same base perimeter. cone z has the same base area as cylinder y, but its height is three times the height of cylinder y. the figures and have the same volume.
Answers: 3
You know the right answer?
Let the function fun be defined as int fun(int *k) { *k += 4; return 3 * (*k) - 1; } suppose fun i...

Questions in other subjects: