Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - C language homework, urgent! Define an integer array with 10 elements, and call the function input (so that it can be combined with.
C language homework, urgent! Define an integer array with 10 elements, and call the function input (so that it can be combined with.
# include & ltstdio.h & gt

empty

Input (int a[])

{for(int

I = 0; I< 10; i++)

scanf("%d ",& ampa[I]);

}

empty

arrayCopy(int b[],int a[])

{for(int

I = 0; I< 10; i++)

b[I]= a[I];

}

empty

printArray(int b[],int a[])

{printf("Array

a:\ n ");

for(int

I = 0; I< 10; i++)

printf("%d

“,a[I]);

Printf(" \ n array

b:\ n ");

for(int

I = 0; I< 10; i++)

printf("%d

“,b[I]);

printf(" \ n ");

}

Internationalorganizations (same as international organizations)

Master ()

{int

a[ 10],b[ 10];

Input (a);

arrayCopy(b,a);

printArray(a,b);

}