int arr[100],temp1[n1],temp2[n2];
temp1 = arr[l];
temp2 = arr[j];
i am supposed to assign some part of an array of length 100 to two arrays using pointers without using any loops
ex:- l=10,j=43,n1=12,n2=13 now 12 elements from array have to be given to temp1 starting from 10th element and 13 elements have to be given to temp2 starting from 43
But using the above gives an error and assume that l,j,n1,n2 are given correctly before the declaration of the arrays . So suggest me a code to do this without loops and using pointers .
