Skip to content

Instantly share code, notes, and snippets.

@zokier
Created June 23, 2012 23:00
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 zokier/2980473 to your computer and use it in GitHub Desktop.
Save zokier/2980473 to your computer and use it in GitHub Desktop.
literal overflow
#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