我有这个功能,我想把它改成迭代的.有谁知道怎么做?
#include "list.h" int count(LINK head) { if(head == NULL) return 0; else return (1 + count(head -> next)); }
c
c ×1