Consider the original equation,
Here y(x)=0 is a obvious solution. Since if y(x)=0, RHS=0 and LHS=0. Hence the equation is satisfied. However when you divide the equation by to obtain, you make the assumption that , therefore you cannot argue that "....imply that so which implies that c is not constant...."
Hope this will help you to undestand.