[ create a new paste ] login | about

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

C, pasted on Apr 21:
1
2
3
4
5
6
7
8
9
10
#include<stdio.h>
void main()
{
    int a[5] = {2, 1, 77, 20, 25};
    int i, j, m;
    i = ++a[1];
    j = a[1]++;
    m = a[i++];
    printf("%d%d%d", i, j, m);
}


Output:
1
3277


Create a new paste based on this one


Comments: