Advanced C tests with functions, separate .c files and pointers