Initial C code