Writing code in C