[ create a new paste ] login | about

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

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

int main()
{
    const int a=10;
    int *d;
    d=&a;
    *d=30;
    printf("%d %d %u %u\n",a,*d,&a,d);
    return 0;
}


Output:
1
10 30 3211665836 3211665836


Create a new paste based on this one


Comments: