foo.c: In function 'main':
foo.c:7:5: warning: implicit declaration of function 'prinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
7 | prinf("%d",a+b);
| ^~~~~
| printf
foo.c:6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d %d",&a,&b);
| ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccSmcfpX.o: in function `main':
foo.c:(.text.startup+0x3d): undefined reference to `prinf'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务