0_0_13282333_30775.c: In function 'main': 0_0_13282333_30775.c:4:2: error: 'sum' undeclared (first use in this function) sum=0; ^ 0_0_13282333_30775.c:4:2: note: each undeclared identifier is reported only once for each function it appears in