[ create a new paste ] login | about

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

C++, pasted on Nov 19:
1
2
3
4
5
int main()
{
int c=10;
printf("%d", c-c++);
}


Output:
1
2
3
cc1plus: warnings being treated as errors
In function 'int main()':
Line 4: warning: operation on 'c' may be undefined


Create a new paste based on this one


Comments: