file opening and writing in c : <pre><code>FILE *fp1;
if((fp1 = fopen("abc.txt", "w")) != NULL)
{
    fprintf(something);
    fclose(fp1);
}
</code></pre>

<p>I am trying to compile this file and all related file using developer command prompt and trying to run it from there. But while running it says this filename.exe has stopped working. It is not able to create the file abc.txt .</p>
