Q. 3 Answer the given questions (4 x 2 = 8 marks)
Find the output for the following.
a) x=4
y=x-1
x=2
print(x, y)
Answers
Answered by
3
2, 3
x has been mutated to 2 while y still refers to the old value of x - 1
Similar questions
Hindi,
2 months ago
Biology,
2 months ago
Political Science,
5 months ago
Math,
11 months ago
Environmental Sciences,
11 months ago
Computer Science,
11 months ago