If x=6, y=x++; what will be the value of x and y?
Answers
Answered by
1
Answer:
x and y will be same that is equal to 6
Answered by
4
Answer:
x = 6
y = 7
Explanation:
using the standard operators, ++ refers to adding one(1) to a variable.
since x= 6,
y=6++
= 6+1 = 7
y=7
Similar questions