The compiler's frontend takes any file as input. It does not require the filename to have a special extension. However, it is suggested that all your source filenames use the *.c extension and that all header files use the *.h extension. The Compiler searches for so urce files first in theCurrent Directory and then in the GENPATH directory (refer GENPATH: #include "File" Path).