srchNamePtr == searchedName
You cannot compare strings this way. Use strcmp.
Remove the syntactical errors. This is not the code that you posted the output of.
Go through your array in a loop using strcmp on each member and your search string. If you found one, break the loop and display it.
Hint: Use CODE tags when posting like this:
Code:[ code ] main() { blah } [ /code ]