$ ./password_checkYour program must include the following two functions (of course, you are free to create others as well):
fred
Password must be at least 6 characters long
Password must contain at least one non-alphabetic character
Try again..
fred a
Password may not contain spaces
Try again..
3456
Password must be at least 6 characters long
Password must contain at least two alphabetic characters
Try again..
modular
Password must contain at least one non-alphabetic character
Password in dictionary
Try again..
home-brew
Password in dictionary
Try again..
ftvft!!
Password OK
$
char **dictRead(char *fname, int max)
Reads at most max words from file fname, which contains a single word per line, and stores them in a dynamically allocated array of strings, and finally returns the address of this array. This function must not use more space than is necessary to store each word (for example, "word" would only require a block of 5 characters)int findWord(char **dict, char *word)
Searches the array of strings dict for an exact match with word, and returns 1 if a match is found, and 0 otherwise.