prog.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
^~~~
prog.c: In function ‘main’:
prog.c:9:6: warning: statement with no effect [-Wunused-value]
a[0] == m;
~~~~~^~~~
prog.c:14:11: error: lvalue required as left operand of assignment
if (a[i]%2=0)
^
prog.c:16:12: error: lvalue required as left operand of assignment
if (a[i]%2=1)
^
prog.c:23:12: error: lvalue required as left operand of assignment
if (a[i]%2=0)
^
prog.c:24:7: warning: statement with no effect [-Wunused-value]
{a[i]==p}
~~~~^~~
prog.c:24:10: error: expected ‘;’ before ‘}’ token
{a[i]==p}
^
prog.c: At top level:
prog.c:28:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
prog.c:29:1: error: unknown type name ‘retirn’
retirn s;
^~~~~~
prog.c:30:1: error: expected identifier or ‘(’ before ‘}’ token
}
^