Initial C example code