lets say I have an array decleared such as:
double numArray[15]={14.83,19.24,0.84,1.98,3.47,0,0,0,0,0,827.39,632. 85,471.38,0.04,4.83}
and also I have some pointers decleared such as:
double *first=numArray;
double *last=first+4;
double *front=first+10;
double *back=first+14;
now how would I add up elements 0-4 and add up the elements 10-14, and subtract the second list(elements 10-14) from the first list(elements 0-4).