C - different programs