not too sure what is going wrong here:
write a function that removes the odd integer values from the array and stores all remaining even numbers back into the original array. So far, I have:
Code:
void oddDel (int x[] );
int i;
char b[], temp;
for ( i=0; i < x[]; i++) {
b = x[i];
temp = b;
if ( temp % 2 == 0) {
x[] = temp;
}
}
}
where am i going wrong???