[ create a new paste ] login | about

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

C, pasted on Jun 5:
1
2
3
4
5
main(){
    char x = 'X', y = 'Y';
    printf("%d\n", scanf("%c%c", &x, &y));
    printf("%x %x", x, y);
}


Output:
1
2
3
-1
58 59
Exited: ExitFailure 5


Create a new paste based on this one


Comments: