Skip to content

Instantly share code, notes, and snippets.

@pzread
Created September 13, 2013 01:54
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 pzread/6546042 to your computer and use it in GitHub Desktop.
Save pzread/6546042 to your computer and use it in GitHub Desktop.
#include<stdio.h>
#include<stdlib.h>
int loop(int x){
unsigned long a;
unsigned long *ptr;
ptr = &a;
if(x == 0){
return 0;
}
printf("%p %016x\n",&a,*ptr);
return loop(x + 1);
}
int main(void){
loop(1);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment