/in/foo.c: In function 'main':
/in/foo.c:22:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[25]' [-Wformat=]
scanf("%s", &a[i].name);
~^ ~~~~~~~~~~
/in/foo.c:25:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'char (*)[2]' [-Wformat=]
scanf("%c", &a[i].str1);
~^ ~~~~~~~~~~
/in/foo.c:26:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'char (*)[2]' [-Wformat=]
scanf("%c", &a[i].str2);
~^ ~~~~~~~~~~