Question: how to create .c file?
Answer: In the developer command prompt window, enter cd c:\ to change the current working directory to the root of your C: drive. ... 
Enter notepad simple. ... 
In Notepad, enter the following lines of code: ... 
On the Notepad menu bar, choose File > Save to save simple.