SqList *L 和 SqList * &L的一些理解以及多重指针的简单应用
SqList *L 和 SqList * &L
关于 SqList *L 和 SqList * &L 的理解
复习数据结构(李春葆 c++版本)时看到了 SqList * &L 当时好像没弄明白今天花点时间理顺下:
typedef struct
{
Elemtype data[MaxSize];
int length;
}SqList;
//
void CreateList(SqList * &L,ElemType a[ ],int n)
{
int i;
转载
2021-08-18 09:42:34 ·
5488 阅读 ·
1 评论