Add C snippet