Created
July 30, 2014 20:04
-
-
Save syncsynchalt/2b927a149a42e4ef1f71 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> | |
#include <stdbool.h> | |
int main(void) { | |
int a = 2; | |
if (a) { | |
printf("a is true\n"); | |
} | |
if (!a == false) { | |
printf("!a is false\n"); | |
} | |
if (!!a != a) { | |
printf("!!a is not a\n"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment