[ create a new paste ] login | about

Link: http://codepad.org/ByvFEcab    [ raw code | output | fork ]

C, pasted on Sep 24:
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int main(){

int *A;
int a=10;

A=&a;
printf("%p\n",A);
printf("%d\n",*A);
return 0;
}


Output:
1
2
0xbf510fdc
10


Create a new paste based on this one


Comments: