
struct DAlocate { long lOff; long lLn; int inUse; };

void SwapDAlocate(DAlocate* tpA,DAlocate* tpB){
  DAlocate tTemp = *tpA;
  *tpA = *tpB;
  *tpB = tTemp;
  };

static int CmpDAlocate(DAlocate* tpA,DAlocate* tpB){
  if(tpA->lOff < tpB->lOff) return -1;
  if (tpA->lOff > tpB->lOff) return 1;
  return 0;
};

//Please implement a QuickSort method to sort DAlocate array by acending offset value
long QSortDAlocateOffset(DAlocate* tpTop,long tCount){
  //write code at next line

};
 Write your response using less than 500 words.
user