/in/foo.c:32:6: warning: return type of 'main' is not 'int' [-Wmain]
void main()
^~~~
/in/foo.c: In function 'main':
/in/foo.c:34:12: error: expected expression before 'char'
encrypt(char a,char b);
^~~~
/in/foo.c:34:4: error: too few arguments to function 'encrypt'
encrypt(char a,char b);
^~~~~~~
/in/foo.c:20:6: note: declared here
void encrypt(char a[],char b[])
^~~~~~~
/in/foo.c:33:16: warning: unused variable 'a' [-Wunused-variable]
{ static char a[30]="No.1",b[100];
^
At top level:
/in/foo.c:33:16: warning: 'a' defined but not used [-Wunused-variable]