[ create a new paste ] login | about

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

C, pasted on Jun 21:
1
2
3
4
5
6
7
8
void main(void)
{
unsigned int a = 0xacbb00ff;
unsigned int b = a >> 32;
unsigned int c = a << 32;

printf("%X %X %X",a,b,c)
}


Output:
1
2
3
4
5
In function 'main':
Line 4: warning: right shift count >= width of type
Line 5: warning: left shift count >= width of type
Line 8: error: expected ';' before '}' token
Line 2: warning: return type of 'main' is not 'int'


Create a new paste based on this one


Comments: