prog.c: In function 'main':
prog.c:5:5: error: excess elements in char array initializer
char a[6]={"abnormal","Abraham Lincoln","alienated","angel","angel","angel with glasses"};
^
prog.c:5:5: error: (near initialization for 'a')
prog.c:5:5: error: excess elements in char array initializer
prog.c:5:5: error: (near initialization for 'a')
prog.c:5:5: error: excess elements in char array initializer
prog.c:5:5: error: (near initialization for 'a')
prog.c:5:5: error: excess elements in char array initializer
prog.c:5:5: error: (near initialization for 'a')
prog.c:5:5: error: excess elements in char array initializer
prog.c:5:5: error: (near initialization for 'a')
prog.c:5:15: warning: initializer-string for array of chars is too long
char a[6]={"abnormal","Abraham Lincoln","alienated","angel","angel","angel with glasses"};
^
prog.c:6:5: error: excess elements in char array initializer
char b[6]={"(%-w)","=):-)=","( <> .. <> )","0:-)","O:-)","O8-)"};
^
prog.c:6:5: error: (near initialization for 'b')
prog.c:6:5: error: excess elements in char array initializer
prog.c:6:5: error: (near initialization for 'b')
prog.c:6:5: error: excess elements in char array initializer
prog.c:6:5: error: (near initialization for 'b')
prog.c:6:5: error: excess elements in char array initializer
prog.c:6:5: error: (near initialization for 'b')
prog.c:6:5: error: excess elements in char array initializer
prog.c:6:5: error: (near initialization for 'b')
prog.c:9:5: warning: 'gets' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
gets(c);
^
prog.c:10:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
k=strlen(c);
^
prog.c:10:8: warning: incompatible implicit declaration of built-in function 'strlen'
k=strlen(c);
^
prog.c:15:22: error: called object 'c' is not a function or function pointer
if(c(j)==b[i])
^
prog.c:7:10: note: declared here
char c[10];
^
prog.c:17:23: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
printf("%s : \t %s",a[i],b[i]);
^
prog.c:17:23: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]