foo.c: In function 'main':
foo.c:7:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int (*)[300]' [-Wformat=]
7 | scanf ("%s",&number);
| ~^ ~~~~~~~
| | |
| | int (*)[300]
| char *
foo.c:36:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
36 | if(a=1){printf("Thankyou");
| ^
foo.c:37:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
37 | }else if(a=2){printf("KFCcrazyThursdayvme50");
| ^
[Hydro](https://hydro.ac)提供评测服务