View Code of Problem 110

#include<stdio.h>
#include<stdlib.h>
int man(){
	int a,b;
	while(scanf("%d %d",&a,&b)!=EOF){
		printf("%d\n",a+b);
	}
}
/*
Main.c: In function 'man':
Main.c:8:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/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 110