printf("arr[%d]=%d\n",i,arr[i]);//PRINT THAT ARRAY
}
for(i=3;i>=0;i--)//will not allow perticular element of array to get minused from sum of all elements in array...//..means 1st time arr[3] will left//2nd time arr[2] will left//3rd time arr[1] will left//4th time arr[0] will left//
{
sum=arr[0]+arr[1]+arr[2]+arr[3];//...GET SUM OF THAT ARRAY...//
printf("j=%d sum=%d\n",j,sum);//in sum ..now i have element from last is to print..//
}
printf("new arr[%d]=%d\n",j-i-1,sum);//if j=4 i=3 j-i-1=0 so arr[0]..//if j=4 i=2 j-i-1=4-2-1=1 so arr[1]//if j=4 i=1 j-i-1=4-1-1=2...so arr[2]...so on..will be priinted =valent to sum which has element from the last one of elements of array...//