I'm a new student of C language and I often browse Stack Overflow to answer questions related to that language specifically. But, sometimes, an OP posts their entire code and wants someone to debug it. The code has a lot of issues, not only technical, but also logical ones.
When I try to advise someone about that and recommend fixes that aren't just: "Hey, change that line for this", I get downvoted.
Should I stop advising and focus only on correcting other people's code?