/in/foo.c: In function 'main':
/in/foo.c:19:18: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
19 | scanf("%d",stu[i].grade1);
| ~^ ~~~~~~~~~~~~~
| | |
| int * int
/in/foo.c:20:18: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
20 | scanf("%d",stu[i].grade2);
| ~^ ~~~~~~~~~~~~~
| | |
| int * int
/in/foo.c:21:18: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
21 | scanf("%d",stu[i].grade3);
| ~^ ~~~~~~~~~~~~~
| | |
| int * int
/in/foo.c:22:18: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
22 | scanf("%d",stu[i].grade4);
| ~^ ~~~~~~~~~~~~~
| | |
| int * int
/in/foo.c:23:18: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
23 | scanf("%d",stu[i].grade5);
| ~^ ~~~~~~~~~~~~~
| | |
| int * int