Created
June 23, 2012 23:00
-
-
Save zokier/2980473 to your computer and use it in GitHub Desktop.
literal overflow
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, char**) | |
{ | |
if (4294967296 != 4294967296LL) | |
puts("Literal overflows"); | |
else | |
puts("Literal does not overflow"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment