Nel file .h ci metti i prototipi, nel file .c le definizioni della funzioni.
Esempio
sort.h:
sort.ccodice:void mergeSort(int *, int); void bubbleSort(int *, int);
codice:void mergeSort(int vect[], int dim) { // codice } void bubbleSort(int vect[], int dim) { // codice }