0
#include<stdio.h>
typedef struct student{
int id;
int mark;
}stud;
typedef struct stud *s1;
void main(){
s1 = NULL;
printf("hi");
}
請幫助我如何將結構指針初始化爲NULL。編譯期間出現以下錯誤。將typedef結構指針初始化爲NULL
graph.c: In function ‘main’:
graph.c:11:04: error: expected identifier or ‘(’ before ‘=’ token