I can't figure out why the code wont work. I keep getting "bus error" message. All I am trying to do is make the program read in words until i press '.' after that i want to print those words. Where am I going wrong? thanksCode:#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> typedef struct List {char array[10]; struct List *next;} List; List *insert_list (char head[10], List *tail) { List *t = calloc (1, sizeof (List)); strcpy (t -> array, head); t -> next = tail; return t; } int print (List *t) { while (t != NULL){ printf ("%s", t -> array); t = t -> next; } printf ("\n"); return 0; } int main (void) { int i; char c[10]; List *l = NULL; while (strcmp ('.', c) != 0){ scanf ("%s", c); l = insert_list (c, l); } print (l); return 0; }