[ create a new paste ] login | about

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

C, pasted on Oct 1:
1
2
3
4
5
6
7
8
9
10
#include<stdio.h>
int main ()
{
int a [5],i;
for (i=0;i <5;i++)
{
scanf (%d,a[i]);
}
return 0;
}


Output:
1
2
In function 'main':
Line 7: error: expected expression before '%' token


Create a new paste based on this one


Comments: