View Code of Problem 1

#include<stdio.h>
int mian ()
{
  int a,b,c;
  scanf("%d,%d",&a,&b);
  c=a+b;
  printf("%d",c);
  return 0;
}
/*
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
*/

Double click to view unformatted code.


Back to problem 1