Computer Science, asked by pritykumari457, 7 months ago

Answer the following questions based on the C code below, compiled to maximus
optimisation:
Statement Index
C Code
1
2
3
Int swap(int x, Inty)
1
Int temp:
temp-y:
yox:
X-temp:
return x;
)
Int main()
6
7
B
9
10
12
Inta-2,b_300;
a gwap(a,b);
return a;
0) The value present in the variable 'y' aften
blalement 5 executes le 300
1 point
False​

Attachments:

Answers

Answered by swnoswno08
1

Answer:

False

Explanation:

After calling the swap function x=2 and y=300

but in the 5th LOC y=x i.e. y=2

So the answer is y=2 and not 300

Similar questions