#include<stdio.h>
typedef struct student{
int id;
int mark;
}stud;
typedef struct stud *s1;
void main(){
s1 = NULL;
printf("hi");
}
NULL로 구조체 포인터를 초기화하는 방법을 도와주십시오. 컴파일하는 동안 다음 오류가 발생합니다.NULL에 typedef 구조체 포인터를 초기화
graph.c: In function ‘main’:
graph.c:11:04: error: expected identifier or ‘(’ before ‘=’ token