00:01
Hello everyone, we need to trace the program.
00:04
So first one initial value for x is 2, y is 4 and z is 0.
00:10
So it will print these values.
00:13
Now for part 2 we have z is equal to function is called with x and y.
00:19
So 2 .4 will be called.
00:21
Now in function we have int ampresent a which is 2 and int b which is 4.
00:34
The second portion is passed by value and the first portion is passed by reference.
00:41
That means when we pass by reference the location will be changed.
00:46
So we will have the change reflected at a position that is for x.
00:50
Now inside this function if a is greater than 4.
00:53
So this is not the case because 2 is not greater than 4.
00:57
So it will go to else.
00:58
Now here in else we have a is equal to minus minus b which implies at the first location a will be equal to minus minus of b is 4.
01:09
So that will imply this is pre -d decrement operator...