[ create a new paste ] login | about

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

C, pasted on Nov 11:
1
2
3
4
5
6
float x=2.5,y=8.2,z=1.4;
int a=3,b=5;
x=z*b++;
b=b*x;
b=b++;
print("%d",b);


Output:
Line 3: warning: data definition has no type or storage class
Line 3: error: conflicting types for 'x'
Line 1: error: previous definition of 'x' was here
Line 3: error: stray '\357' in program
Line 3: error: stray '\274' in program
Line 3: error: stray '\213' in program
Line 3: error: stray '\357' in program
Line 3: error: stray '\274' in program
Line 3: error: stray '\213' in program
Line 3: error: initializer element is not constant
Line 4: warning: data definition has no type or storage class
Line 4: error: redefinition of 'b'
Line 2: error: previous definition of 'b' was here
Line 4: error: initializer element is not constant
Line 5: warning: data definition has no type or storage class
Line 5: error: redefinition of 'b'
Line 2: error: previous definition of 'b' was here
Line 5: error: stray '\357' in program
Line 5: error: stray '\274' in program
Line 5: error: stray '\213' in program
Line 5: error: stray '\357' in program
Line 5: error: stray '\274' in program
Line 5: error: stray '\213' in program
Line 5: error: initializer element is not constant
Line 6: error: expected declaration specifiers or '...' before string constant
Line 6: error: expected declaration specifiers or '...' before 'b'
Line 6: warning: data definition has no type or storage class


Create a new paste based on this one


Comments: