in myCfile.c: #include "myHeader.h" // searches for include files // in include path char myArray[MAXARRAY] =100; // allocates array of size 100 char* myString = "someString"; int main(int argc, char** argv) { int result; #ifdef TEST result = add(2,4); #else result = myFunction(FOO,5); #endif return 0; }