1. Write a program to copy elements of one array into other empty array using pointer to array of integers.2. Write a program to find out largest element of an array using pointer to array of integers.3.Write a program to sort array elements in ascending order using pointer to array of integers.
#include<stdio.h>#include<conio.h>void main(){int a[12],b[12],c[12];int *p,*q,*r;for(i=0;i<5;i++){scanf("%d",&a[i]);}//copyp=&a;q=&b;for(i=0;i<5;i++){*(p+i)=*(q+i);p++;q++}//after copyfor(i=0;i<5;i++){printf("%d",*(b+i));}