Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int x, y, z;
- x = y = z = 0;
- x++ && ++y || z++ && x++ || ++z && y++;
- //0
- //x=1 y=1 z=2
- printf("x=%d\ty=%d\tz=%d\n", x,y,z);
- //x=1 y=1 z=1
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement