Add inline if snippet to c.