Improve C snippets