[ create a new paste ] login | about

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

C, pasted on Dec 7:
1
2
3
4
5
6
7
8
int a=1;
int b=2;
if (a=b)
else
 {
 a++;
}
printf("ok");


Output:
1
2
3
4
5
Line 3: error: expected identifier or '(' before 'if'
Line 8: error: expected declaration specifiers or '...' before string constant
Line 8: warning: data definition has no type or storage class
Line 8: error: conflicting types for 'printf'
t.c:9: note: a parameter list with an ellipsis can't match an empty parameter name list declaration


Create a new paste based on this one


Comments: