When we compile a C program its automatically generate a .cpp file shown below :

Then when you click the execute button it will generate a .exe file, shown below : 379 more words