Anonymous
public text v1 · immutable#include<stdio.h>
#define SIZE 10
void copying (int *, const int *);
main()
{
int number2[] = {1,2,3,4,5};
int number[SIZE];
int i;
copying(number,number2);
for (i =0; i <=10 ; i++)
printf("Integer: %d\n",number[i]);
}
void copying (int *numberPtr, const int *number2Ptr)
{
int i;
for (i =0; i <=10 ; numberPtr[i] = number2Ptr[i], i++)
;
}