0

How to understand Format Specifiers in C programming

It's a ... "fake" question with an answer which is very documentation like. Ignoring the mistakes in the answer for a moment, is such a question / answer style even on topic?

6

1 Answer 1

6

That Q&A is not inherently off-topic. We welcome self-accepted answers as a way to share knowledge. Personally, I did it only once, since I find it relatively difficult, but the reception I got with that one clearly shows that if not done terribly poorly, it can be found helpful.

I believe the biggest issue with this question is how it was stated. Multiple questions, none of which were particularly focused; a lot of exposition and some noise.

I've tried to offer an edit that I believe makes it much clearer and does a better job at explaining what the question expects as an answer. I'm very far from being a C expert, so hopefully users more knowledgeable than me can weight in with edits and votes.

The answer could probably do with an edit as well, but the answer quality should not matter in deciding if the question needs to be closed or not.

In the end, the question was deleted by its author, probably because it got 6 downvotes, making the whole issue moot.

For reference, this was the revision that got closed:

enter image description here

And after this edit, it got 2 reopen votes from other users before it was deleted:

enter image description here

2
  • I have deleted it because two peoples are voted for delete my question. with one vote that post will be deleted. I have never thought that post would be not helpful to others. I will never do that Q&A style again. It feels lots of discouragement.
    – Kalana
    Jan 3, 2020 at 17:59
  • Every month I saw more than 10 questions which are users struggling with format specifiers. Even today I also saw that kind of question. There for I thought post Q with A to help these people. I have followed this article -> [stackoverflow.blog/2011/07/01/… before I posting the Q&A
    – Kalana
    Jan 3, 2020 at 18:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .