Status InitTriplet(int* &T,Elemtype v1,Elemtype v2, Elemtype v3){T = (int *)malloc(3 * sizeof(Elemtype));if (!T)exit(OVERFLOW);T[0] = v1;T[1] = v2;T[2] = v3;return OK;}
int类指针的引用、T是int指针的别名、行参的引用传递