#include<stdio.h>
#include<stdlib.h>
typedef struct Node
{
int data;
struct Node *next;
}node;
node *HEAD=NULL;
//Interface...
For further actions, you may consider blocking this person and/or reporting abuse
In C, you shouldn't cast the return value from malloc(3) et al.
Why ?
In C (and we're talking about C and not C++)
1) It's superfluous.
2) Can hide bugs depending upon architecture/compiler etc, where if you don't
the return type of malloc may be assumed to be int which may mean you're using a truncated address and that won't end well...