Computers and Technology
Computers and Technology, 08.07.2019 19:30, ziazozaya

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 a. operands in the expressions are evaluated left to right? b. operands in the expressions are evaluated right to left?

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:10, kristofwr3444
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, devnnn44
What is the original authority for copyright laws
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 23.06.2019 22:50, christingle2004
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
Do you know the correct answer?
Let the function fun be defined as int fun(int*k) { *k += 4; return 3 * (*k) - 1; } suppose fun is...

Questions in other subjects:

Konu
English, 23.06.2019 17:10