// header.h
const int number = 10;

// header.c
int x;
#include "header.h"

printf("%d\n", number);                 // 10

/*
    Michael Sjoeberg
    2019-08-21
    https://github.com/michaelsjoeberg/c-playground/blob/master/basics/header.c
*/