If the value of X=-1 and y=10 then what will be the value of X in the following expression-
Z=( X=1) && (y!=10) && (X=y)
Answers
Answered by
0
Answer:
Ans is 1.
Explanation: Because as you can see first of all the value of x=-1 is given.
Next instructions is:-
z=(x=1)&&(y!=10) &&(x==y)
So now, according to next instruction 1 assign to x . so, the current value of x is 1.
Similar questions
Biology,
4 months ago
Math,
4 months ago
Science,
8 months ago
Environmental Sciences,
8 months ago
Computer Science,
11 months ago
Math,
11 months ago