added c snippets.