Assignment #5.
Double Pointer ¡©
Multidimensional Array.
1) Function ReadNames that reads name strings a given file
and store them into theirNames, which is a pointer to string array
prepared by main program. Note that theirNames stores up to 100 names and the maximum
length of each name is 40.
int ReadNames(char*
filename, char **theirNames)
The return value is the number of name strings read from the file, and the file
format is as below;
Mal-Dong
Kim
Soo-Min Lee
2) Function SearchName that searches the name in the name
array and prints the rank. If no matching name is found, then print ¡°No name found¡±.
int SearchName(char
**theirNames, int n, char *keyName)
Oral Test on March 29.