Output Questions for Class 10 ICSE Computer Applications
Predict the output:
int a=6,b=5,c;
c = (a++ % b++) *a + ++a*b++;
Java
Java Operators
36 Likes
Answer
c = 55
Working
c = (a++ % b++) *a + ++a*b++
c = (6 % 5) * 7 + 8 * 6
c = 1 * 7 + 8 * 6
c = 7 + 48
c = 55
Answered By
21 Likes