填空题 以下程序段用以统计链表中元素的个数。其中first指向链表第一个结点,count用来统计结点个数。请填空。   struct link   { char data;    struct link * next;   }   struct link * p,* first;   |   int count=0;   p=first;   while( 【17】 )   {    【18】 ;   p= 【19】 ;   }
  • 1、
【正确答案】 1、[17]p!=NULL    
【答案解析】[18]count + + [19](* p).next