int my number [10];
void fun(int input, int* addr){
if (input %2 == 0){
*addr = 1;
}
}
int main (){
int i;
for (i = 0; i < 10; i+=1){
fun(number[i], &number[i]);
}
return 0;
}
Tips, Expertise, Articles and Advice from the Pro's for Your Website or Blog to Succeed
int my number [10];
void fun(int input, int* addr){
if (input %2 == 0){
*addr = 1;
}
}
int main (){
int i;
for (i = 0; i < 10; i+=1){
fun(number[i], &number[i]);
}
return 0;
}