Nel file .h ci metti i prototipi, nel file .c le definizioni della funzioni.

Esempio

sort.h:
codice:
void mergeSort(int *, int);
void bubbleSort(int *, int);
sort.c
codice:
void mergeSort(int vect[], int dim)
{
  // codice
}

void bubbleSort(int vect[], int dim)
{
  // codice
}