C -- setting memory usage in struct
C -- simple get/put char
warning: ‘gets’ is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]