[ create a new paste ] login | about

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

jht009 - C, pasted on Sep 6:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int main()
{
	int i;
	
	i=0;
	i|=1>>(32-i);
	printf("%d\n",i);
	
	i=0;
	i|=1>>(32-0);
	printf("%d\n",i);

	return 0;
}


Output:
1
2
0
0


Create a new paste based on this one


Comments: