Created
May 31, 2017 01:40
-
-
Save computermouth/604a114ec7be691fe42c3d660d79d2a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main () { | |
int a = 0; | |
( a ) || printf("some junk\n"); | |
a++; | |
( a ) || printf("other stuff\n"); | |
return 0; | |
} | |
// me@pc:~/short_conditional$ ./a.out | |
// some junk | |
// me@pc:~/short_conditional$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment