[ create a new paste ] login | about

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

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

int main()
{
int a;
void *p;
a = (int)p;
printf("%d\n",sizeof(p));
printf("%d\n",sizeof(a));
return 0;
}


Output:
1
2
4
4


Create a new paste based on this one


Comments: