foo.c: In function 'Input':
foo.c:40:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s%d%d%s%s%d",&ss[i].Name,&ss[i].grade1,&ss[i].grade2,&ss[i].leader,&ss[i].west,&ss[i].cnt);
~^ ~~~~~~~~~~~
foo.c: In function 'main':
foo.c:20:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
foo.c: In function 'Input':
foo.c:40:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d%d%s%s%d",&ss[i].Name,&ss[i].grade1,&ss[i].grade2,&ss[i].leader,&ss[i].west,&ss[i].cnt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~