Add C main method snippet.