All pastes #24439 Raw Edit

Something

public text v1 · immutable
#24439 ·published 2005-10-02 15:14 UTC
rendered paste body
#include<stdio.h>
#define SIZE 10

void copying (int *, const int *);

main()
{
	int number2[] = {1,2,3,4,5};
	int number[SIZE];

	copying(number,number2);
	printf("The value in number are : %d",*number);
}

void copying (int *numberPtr, const int *number2Ptr)

{
	int i;
	for (; *numberPtr = *number2Ptr; numberPtr++, number2Ptr++)
	;
}