0_0_24652391_31382.cpp: In function 'int main()':
0_0_24652391_31382.cpp:6:27: error: conflicting declaration 'int a'
int i,t,l,x=0,y=0,z=0,a=0,sn=0;
^
0_0_24652391_31382.cpp:5:11: note: previous declaration as 'char a [100]'
char a[100];
^
0_0_24652391_31382.cpp:23:18: error: incompatible types in assignment of 'int' to 'char [100]'
a=1;
^
0_0_24652391_31382.cpp:25:21: error: invalid conversion from 'char*' to 'int' [-fpermissive]
sn=x+y+z+a;
^
|