Professional Documents
Culture Documents
// function to display X
puts("The values of X are: ");
for (i = 0; i <= SIZE -1; i++){
printf("%d",x[i]);
//printf("\n");
}
//i = 0;
// f2 to copy X into Y.
for (i=0; i<= SIZE -1; i++)
{
y[i]=x[i];
}
// Up to here we have y.
// f3 to display Y.
printf("\n");
puts("The values of Y are: ");
for(i=0; i<=SIZE-1;i++)
printf("%d",y[i]);
return 0;
}