關(guān)于算法中指針的疑問求解
c語言算法,如int ListInsert(SequenceList *L,int i,ElemType x)以及
int ListLength(SequenceList L)
何時(shí)用L,何時(shí)用*L?
int?ListLength(SequenceList?L)? int?ListInsert(SequenceList?*L,int?i,ElemType?x)
c語言算法,如int ListInsert(SequenceList *L,int i,ElemType x)以及
int ListLength(SequenceList L)
何時(shí)用L,何時(shí)用*L?
int?ListLength(SequenceList?L)? int?ListInsert(SequenceList?*L,int?i,ElemType?x)
2015-10-20
舉報(bào)
2015-10-20
這邊需要的是一個(gè)地址參數(shù),也就是&(取地址符)SequenceList,我C好久不看了,可能說錯(cuò),哈哈。。。?