If int a=27, b=4, c=0; then c = a % b; results in 3.
Java Operators
4 Likes
Answer
True
Reason — The given initial values are int a = 27, b = 4, c = 0;. The statement c = a % b; calculates the remainder when a (27) is divided by b (4). The remainder of 27 ÷ 4 is 3. Therefore, the value of c will be 3.