Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The value of x and v after the execution of following program would be: void fun

ID: 3793112 • Letter: T

Question

The value of x and v after the execution of following program would be: void funk (int^* a int^* b){int tam =^*a;^*a =^*b;^*b = tap; int x = 5, y = 10 func(& x, &y;) x = 5, y = 10 x = 5, y = 5 x = 10: y = 5 x= 10: y = 10 What will be the following function return value when you are passing n = 5 into it. int func(int n){int i j; for(i =1, j=1;(i leftarrow n);(j^*=i), i++); return j; 5 0 | 120 1 Advantage of using linked list compare to array are They allow easy insertion of value and deleting it It is easy to work with linked list while using stack and heap They require less memory compared to array They can reduce access time.

Explanation / Answer

13) The answer is c. The values of x=10 and y=5.

14) The answer is c. The answer is 120.

15) The answer is a.