
CodePudding user response:
Void Inverse (SqList * p) {If (NULL==p | | p - & gt; Length<2) return;
ElemType * pS=p - & gt; Elem, pE=p - & gt; Elem + p - & gt; Length - 1.
ElemType t;
While (pS & lt; PE) {
PS, t=* * pE, pS=* * pE=t;
PS++, pE -;
}
}
CodePudding user response:
Crab crab!

