声明顺序表如下:typedef struct sqList
{
datatype data[10]; int last;
}SQ;
请问last在此处的作用是什么?
last就代表实际有效的数据量data[10]只是顺序表的容量,当前到底有多少有效数据,由last来表示