怎样初始化一个链表呢?
如下程序我想初始化一个链表变量,但是第三个成员该怎么表示呢?
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
struct name
{
char firstname[SIZE];
char lastname[SIZE];
struct name *next;
};
int main(void)
{
struct name *head = {"aaa","bbb", };//第三个成员该怎么表示了?
return 0;
}
...全文


