after attempting to compile+run

So many warnings:

ghangman.c: In function 'getWord':
hangman.c:195:3: warning: implicit declaration of function
'randomNumber' [-Wimp    licit-function-declaration]
hangman.c: In function 'main':
hangman.c:222:21: warning: initialization makes integer from pointer
without a c    ast [enabled by default]
hangman.c:224:5: warning: passing argument 1 of 'strlen' makes pointer
from inte    ger without a cast [enabled by default]
/usr/include/string.h:399:15: note: expected 'const char *' but argument
is of t    ype 'char'
hangman.c:249:5: warning: format '%s' expects a matching 'char *'
argument [-Wfo    rmat]
hangman.c:249:5: warning: format '%s' expects a matching 'char *'
argument [-Wfo    rmat]
hangman.c:252:5: warning: passing argument 2 of 'strcmp' makes pointer
from inte    ger without a cast [enabled by default]
/usr/include/string.h:143:12: note: expected 'const char *' but argument
is of t    ype 'char'
hangman.c:259:19: error: subscripted value is neither array nor pointer
nor vect    or
hangman.c:277:4: warning: passing argument 2 of 'strcmp' makes pointer
from inte    ger without a cast [enabled by default]
/usr/include/string.h:143:12: note: expected 'const char *' but argument
is of t    ype 'char'
hangman.c:291:7: warning: passing argument 2 of 'strcmp' makes pointer
from inte    ger without a cast [enabled by default]
/usr/include/string.h:143:12: note: expected 'const char *' but argument
is of t    ype 'char'
hangman.c:299:5: warning: format '%s' expects argument of type 'char *',
but arg    ument 3 has type 'int' [-Wformat]