Computer Science, asked by prrasanashah, 8 months ago

If x=40 and y =25 then predict the output of each statement separately.
a)”3”+4+x b) x+=y c) (x==y)&&(x>1) d) y=x+true

Answers

Answered by Anonymous
0

Given : x = 40, y = 25

a) "3" + 4 + x

<unexpected : cannot add int with "str">

b) x += y

65

c) (x==y) && (x>1)

False

d) y = x+true

<unexpected : cannot add keyword with int>

Hope this helps you.

Similar questions