Skip to content

Instantly share code, notes, and snippets.

@segfo
Created June 24, 2014 14:19
Show Gist options
  • Save segfo/98ee2e2325be40111767 to your computer and use it in GitHub Desktop.
Save segfo/98ee2e2325be40111767 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(){
int a=0x1<<31;
int b=-1L;
int c;
c=a/b;
printf("%d/%d=%d\n",a,b,c);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment