(c)
If two atoms directly attached to the double bond have the same atomic number, then the elative priority of the groups is determined by a similar comparison of the atomic numbers of the next elements in the groups. Thus, the preference order of given group is
$OCH_{3} > OH > COOH > CHO$