Computer Science, asked by sanjanasanz1310, 4 months ago

If x=6, y=x++; what will be the value of x and y?​

Answers

Answered by Anonymous
1

Answer:

x and y will be same that is equal to 6

Answered by rushilk7
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