At line 10, the struct has only one character reserved for the name
which does not make sense, especially with the terminating null character.
Line 35 creates an integer called "name", and line 74 puts an arbitrary number of characters into the address pointed to by that integer. This should crash.
Try using array of char: char name[101];
and then write the code to put no more than 100 characters in it.