add c snippet