Computer Science, asked by azhaantaj21, 5 months ago

int a1= 5;

int s = ++ a1 + - - a1;

s - = a1;​

Answers

Answered by anindyaadhikari13
3

Question ?

  • Evaluate the expression.from

Solution:-

Given,

a1=5

s=++a1 + --a1;

Or,

s=6+5

Or,

s=11

Now,

a1=5

s-=a1

Or,

s=11-5

Or,

s=6

Answer:-

s=6 and a1=5.

Similar questions