title: Compare a char[] and a char*
body: <p>I have a function that returns a <code>char*</code> (a name). I need to check if the name is the same as a name I type in when I run the program. 
  So how can I compare a char pointer and a char array? (this is a part of a school assignment) </p>