[ create a new paste ] login | about

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

C, pasted on May 12:
1
2
3
4
5
6
7
8
9
#include<stdio.h>

int main(int argc, char **argv){
    int oddnbr = 11;

    int i = 0;
    for(;i<100;i++) if((i|1)==oddnbr) printf("i: %d\n", i);
    return 0;
}


Output:
1
2
i: 10
i: 11


Create a new paste based on this one


Comments: