Some codes which are written in C