[ create a new paste ] login | about

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

C, pasted on Nov 13:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>

int main()
{
int i,j;

i = 10;
	
    for (j = 0; j < 5; j++)
    {
	i = i++;
    }
    
    printf("i = %d\n", i);


    return 0;
}


Output:
1
i = 15


Create a new paste based on this one


Comments: