Computer Science, asked by sanjana8e, 2 months ago

if a=12,b=18; find the value of a*=++a/6 + b++ %3

Answers

Answered by kamalrajatjoshi94
2

Answer:

int a=12,b=18;

a*=++a/6+ b++%3

=12*(13/6+18%3)

=12*(2+0)

=12*2

=24

But the question really may be as it came on iCSE b=8 not 18:

int a=12,b=8;

a*=++a/6+b++%3

=12*(13/6+8%3)

=12*(2+2)

=12*4

=48

Similar questions