0
What happens when we use arrow operator on NULL structure pointer ?
For eg : typedef struct Node { int data; struct Node *link; } Node; //Pointer to the structure "Node" Node *start=NULL; printf("This prints %d",start->data);
1 ответ
0
Have you tried test running the code inside Code Playground?
It triggers error. Seriously, what did you expect trying to access a pointer that points to a non valid data?