I'm rather new to Stack Overflow. Basically, I have a style of answering questions which I've tried to describe below:
Though I've been exposed to a few languages, I restrict myself to the 'C' tag for now.
For most of my answers:
I work out an answer in C code & test it on my computer. I save the code & execution details.
I post my answer code on Stack Overflow.
I post the execution details below my answer code on Stack Overflow.
I don't exactly explain a lot in my answer (in plain English) for a variety of reasons:
I don't wish to make my answers too long.
I don't wish to harp on the mistakes of the question's author.
I believe that posting execution details of my code allows me to connect better with the questions asked & prevents need for further explanation.
I have other things to do, I can't spend more time on Stack Overflow.
Initially, as I answered questions, my reputation steadily increased. Seemed like people appreciated my answers. I did not mind the odd downvote even when I knew I had not been stingy in my answer (some people weren't satisfied with it, but as I said earlier, I don't have more time to spend on Stack Overflow).
Recently, I've received a string of downvotes on my answers. But my answer style hasn't changed & I've put in the usual effort. What's going on suddenly? Why have I received these downvotes? Am I really a good fit for Stack Overflow? If not, please tell me clearly - I'll invest my time & effort elsewhere.
char *subtopic
toconst char *subtopic
. You don't even explain the issue in your answer, compare that to the accepted answer there which clearly points out the issue. Plus a reader might even miss this change and wonder what exactly the problem was and what solved it.