A protein glycosylation process in which a carbohydrate or carbohydrate derivative unit is added to a protein via a C atom.