Search found 1 match

by ravingeek
Sun Jul 03, 2011 2:51 am
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 101896

Re: 10035 - Primary Arithmetic

i can't find why the system refuse my code
i can't find where is the mistake
can you help me please?

here is my code:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define SIZE 10
void sum(char x[SIZE],long *sum) {
int i;
for(i=0; i<SIZE; i++)
*sum+=x ;
}
int main() {
char x[SIZE ...

Go to advanced search