changes in c and cpp snippets