View Code of Problem 1

#include <stdio.h>
#include <math.h>
int main(){
  int a, b;
  scanf("%d, %d", &a, &b);
  print("%d",(a + b));
  return 0;
}
/*
Main.c: In function 'main':
Main.c:7:3: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
   print("%d",(a + b));
   ^
/tmp/cc4CVK04.o: In function `main':
Main.c:(.text+0x37): undefined reference to `print'
collect2: error: ld returned 1 exit status
*/

Double click to view unformatted code.


Back to problem 1