Skip to content

Instantly share code, notes, and snippets.

@LordAro
Created November 29, 2017 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LordAro/4ea71f36998c709f980e2bd3fc97b815 to your computer and use it in GitHub Desktop.
Save LordAro/4ea71f36998c709f980e2bd3fc97b815 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void) {
int someValue = 1;
int x = 10, y = 10;
someValue ? ++x, ++y : --x, --y;
printf("%d %d\n", x, y);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment