![mdaniella522](/avatars/31845.jpg)
mdaniella522
28.07.2019 •
Mathematics
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
Solved
Show answers
More tips
- F Family and Home How to Sew Curtain Tapes: Best Tips from Professionals...
- A Animals and plants How to Grow Lime from a Seed: Simple Tips and Interesting Facts...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Mathematics
- M Mathematics Solve the equation using square roots....
- M Mathematics What has the greatest value 3/10 or 1/2 or 2/5...
- M Mathematics Suppose restaurant A s chicken salad contains 6more grams of fat than restaurant B s chicken salad. Find the number of grams of fat in each salad if there are 56grams of fat in...
- M Mathematics Ian and his family went out for lunch. The bill was $34.98. If they left a 15% tip, how much did they pay in total?...
- M Mathematics What s the maximum amount of money you should spend on a Modern Art painting worth 30k if you had to pay 15% tax?...
- M Mathematics How many 1/4 inch cubes does it take to fill a bow with width 1 inches, length 3 3/4 inches and height of 1 1/2 inches....
- M Mathematics 7. Mr. Burns takes a one-day trip and rents a car using the rates shown. The car rental cost is $68.25....
- M Mathematics Please write the proportion fir then and i’ll solve it...
- M Mathematics 9(2k-3m)-9m-4(-3m-3k)...
- M Mathematics Help me i can’t write proportion...
Ответ:
Ответ:
4.5 x 2 = 9
9 + 45 = 54
54 + 4.5 = 58.5
1 + 2 + 10 = 13 weeks
13.5 weeks = 3 months
2 months and 4 weeks