Write one difference between / and % operator.
17 Likes
/ operator computes the quotient whereas % operator computes the remainder.
Answered By
10 Likes
Evaluate the given expression when the value of a=2 and b=3
b*=a++ - ++b + ++a; System.out.println("a= "+a); System.out.println("b= "+b);
Evaluate the expression when x is 4:
x += x++ * ++x % 2;