• 2022-06-09
    已知线性表L=(21,-7,-8,19,0,-11,34,30,-10),写出执行f30(&L)后的L状态。()voidf30(SeqList*L){inti,j;for(i=j=0;ilength;i++)if(L->data[i]>=0){if(i!=j)L->data[j]=L->data[i];j++;}L->length=j;}[/i][/i]
    A: L=(-7,-8,0,-11,-10)
    B: L=(21,19,34,30)
    C: L=(21,19,0,34,30)
    D: L=(-7,-8,-11,-10)