[ create a new paste ] login | about

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

C, pasted on Nov 12:
1
2
3
4
5
6
7
8
main()
{
int x;
x=10;
y=2+x++;
printf("value of x is %d",x++);
printf("Value of x after increment is %d",y);
}


Output:
1
2
3
4
In function 'main':
Line 5: error: 'y' undeclared (first use in this function)
Line 5: error: (Each undeclared identifier is reported only once
Line 5: error: for each function it appears in.)


Create a new paste based on this one


Comments: