#include <stdio.h> #include <math.h> int main(){ int a, b; scanf("%d, %d", &a, &b); print((a + b)) } /* Main.c: In function 'main': Main.c:7:3: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration] print((a + b)) ^ Main.c:8:1: error: expected ';' before '}' token } ^ */ |
Double click to view unformatted code.