code snippets in c