Computer Science, asked by angelsinha054, 9 months ago

2. Predict the output
int a = 6, b=5,c;
c = (a++ % b++)* a + ++a *b++;

Answers

Answered by sameerPandey27
1

Answer:

c=55 is the right answer.

Explanation:

c = (a++ % b++) *a + ++a*b++

c = (6 % 5) * 7 + 8 * 6

c = 1 * 7 + 8 * 6

c = 7 + 48

c = 55

Similar questions