Computer Science, asked by 01011, 4 months ago

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 jai696
3

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

2, 3

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

x has been mutated to 2 while y still refers to the old value of x - 1

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions
Math, 4 months ago