title: fopen() leading to a segmentation fault
body: <p>I have the file name of a file stored in char *names. When I use <code>fopen(&amp;names[0],"r")</code>, I am receiving a seg fault error. Why is this happening and how can I fix it?</p>