[ create a new paste ] login | about

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

C, pasted on Jan 14:
1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>
#include<conio.h>
int main (void)
{
int *a,b[3]={3};
int s=1;
a=b;
s=*a+1;
printf(%d,s);
getch();
}


Output:
1
2
3
4
5
6
7
8
9
Line 17: error: conio.h: No such file or directory
In function 'main':
Line 9: error: stray '\342' in program
Line 9: error: stray '\200' in program
Line 9: error: stray '\234' in program
Line 9: error: expected expression before '%' token
Line 9: error: stray '\342' in program
Line 9: error: stray '\200' in program
Line 9: error: stray '\235' in program


Create a new paste based on this one


Comments: