Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Defines a function that returns an array of integers.
Defines a function that returns an array of integers.
# include & ltstdio.h & gt

int? *arry? (? int? a[]);

int? Mainly? ()

{

int? a[]={0, 1,0, 1, 1,0, 1,0 };

int? *b? =arry(a)? ;

int? Me;

For what? (me? =? 0; I<8; i++){

printf? (" %d?" ? ,? a[I]);

}

Return? 0;

}

int? *arry? (? int? a[])

{

int? Me;

For what? (me? =? 0; I<8; i++){

What if? (a[i]==0){

a[I]= 1;

}

Or what? {

a[I]= 0;

}

}

Return? a;

}