Created
March 15, 2017 12:15
-
-
Save shumon84/7454d2767eb1cc8263def6324a59ab6a 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> | |
int main(void) | |
{ | |
int hoge=0x00000000ffff00ff; | |
long huga=0xffffffffffffffff; | |
int a=hoge-huga; | |
long b=hoge-huga; | |
printf("a = %016x\n",a); | |
printf("b = %-16lx\n",b); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment