Computer Science, asked by dskynjla, 8 months ago


If x= 48 , y = 2
find the value of x=y++ + ++ x

Answers

Answered by anshikagupta77
2

Answer:

51

Explanation:

x = y++ + ++x

= 2 + 49

= 51

Answered by Danger107
2

Answer:

x=2+49

=51

Explanation:

++ variable is a prefix operator(The value will be updated first and used) while variable++ is a postfix operator(The value will be used first and then updated).

Similar questions