Computer Science, asked by ananya9151, 1 year ago

z = x++ % y++ ; x = 4 and y = 5 in Java programming


siddhartharao77: It will be 4. Do u want us to write a java program?
ananya9151: yes
ananya9151: please send

Answers

Answered by nitish8089
1
Post-increment operator: A post-increment operator is used to increment the value of variable after executing expression completely in which post increment is used. In the Post-Increment, value is first used in a expression and then incremented.
Syntax:

a = x++;

"%" : modulo operator or remainder operator.

z=x++(4)%y++(5)=4.
Similar questions