help: how to answer this question?

test1999 2003-10-16 12:39:19
Write a function that would: return the 5th item in a singly linked list of integers and then provide a set of test cases against that function.
...全文
28 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hhlong 2003-10-16
  • 打赏
  • 举报
回复


keep a close eye on!!
darcymei 2003-10-16
  • 打赏
  • 举报
回复

int fun(int * head)
{
for(int i=0;i<4;i++)
head=head->next;
return head.data;
}


69,371

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧