Question: Q 5 Let the function fun be defined as int fun ( int * k ) { * k + = 4 ; return 3
Q
Let the function fun be defined as
int funint k
k ;
return k;
Suppose fun is used in a program as follows:
void main
int i j sum sum;
sumi fun&i;
sum fun&jj ;
What are the values of sum and sum if
operands in the expressions are evaluated left to right?
operands in the expressions are evaluated right to left?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
