Skip to content

Instantly share code, notes, and snippets.

@kokjo
Last active August 29, 2015 14:18
Show Gist options
  • Save kokjo/d23b0c4dc0f5ab803eec to your computer and use it in GitHub Desktop.
Save kokjo/d23b0c4dc0f5ab803eec to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char **argv){
long int a=0,b=0,c=0,d=0;
scanf("0x%lx 0x%lx", &a, &b);
scanf("0x%lx 0x%lx", &c, &d);
printf("a: 0x%x b: 0x%x c: 0x%x d: 0x%x\n", a,b,c,d);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment