#include<stdio.h>
typedef struct student{
int id;
int mark;
}stud;
typedef struct stud *s1;
void main(){
s1 = NULL;
printf("hi");
}
S'il vous plaît aidez-moi comment initialiser struct pointer à NULL. j'obtiens l'erreur suivante pendant la compilation.initialisation d'un pointeur de structure typedef à NULL
graph.c: In function ‘main’:
graph.c:11:04: error: expected identifier or ‘(’ before ‘=’ token