Created
May 15, 2012 12:19
-
-
Save daGrevis/2701327 to your computer and use it in GitHub Desktop.
Char math
This file contains hidden or 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 argc, char *argv[]) { | |
| char foo = 'C'; | |
| char bar = 'A'; | |
| puts(foo - bar); | |
| return 0; | |
| } |
daGrevis
commented
May 15, 2012
Author
Author
printf("%d", foo - bar);
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment