第28712题 单选题
下列代码片段中能正确完成带头结点单链表的按位插入操作的是?

已知单链表节点结构定义为:

typedef struct LNode {
    int data;
    struct LNode *next;
} LNode, *LinkList;

现有带头结点的单链表L,要求在第i个位置(1≤i≤表长+1)插入数据域为e的新节点,下列操作代码正确的是:

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析