下面这段代码能把q的值带回来吗?
typedef struct poly{ float coef; int expn; struct poly *next;}poly,*lpoly;int locate(lpoly p,int expn,lpoly q){ lpoly r; inist(&r); q=p; if (expn>(q->expn)) return 0; else { r=q; q=q->next; while (q!=NULL&&(expn>q->expn)) { r=q; q=q->next; } q=r; return 1; }}