The standard convention is to use .h for header files that contain only macro definitions and other declarations and .c for C source files that contain code and data definitions. In some projects, code fragments are stored in separate files and included in C source files with some macro tricks to expand specifically in different files or circumstances. Sometimes, these files are even included ...