Rewrite this code fragment to improve its efficiency Find at
Solution
//improvement 1 calculating length so that it does not calculate the length every time of loop
Length=strlen(a)-4;
isum=0;
for(i=0;i<length;++i){//improvement no2 applying loop for calculation
for(j=i;j<i+4;j++){
isum=isum+a[j];
if(isum==atoi(iUserSum))
printf(\"Match at %d\ \",i);
}
}
