[ create a new paste ] login | about

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

C, pasted on Feb 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include<stdio.h> 
int main(){
    int i = 10; 
    int j = 10;

    j = ++(i | i);
    printf("%d %d\n", j, i);

    j = ++(i & i);
    printf("%d %d\n", j, i);

    return 1;
}


Output:
1
2
11 11
12 12


Create a new paste based on this one


Comments: