#include <stdio.h> int main(){ int a, b; scans("%d%d", &a, &b); printf("%d\n", a+b); return 0; } /* Main.c: In function 'main': Main.c:4:3: warning: implicit declaration of function 'scans' [-Wimplicit-function-declaration] scans("%d%d", &a, &b); ^ /tmp/ccgJeHEN.o: In function `main': Main.c:(.text+0x1e): undefined reference to `scans' collect2: error: ld returned 1 exit status */ |
Double click to view unformatted code.