#include #include #include struct node { char name[30]; int id; }; int main () { struct node *node1; node1 = malloc(sizeof(struct node)); strcpy(node1->name,"Jonathan"); node1->id = 24; printf("Name=%s \n", node1->name); printf("ID=%d \n", node1->id); return 0; }