Q:

Improving a question to get an answer

I was looking for an answer.  I found this question related to it, but it did not have a answer.  I just edited it, put my code in it and it was rejected.  May I know why?  Is it necessary to ask it in a new question, why can't I edit it to get an answer? 
 

A:

This happens quite often in another way: a (usually) new user posting his/her question as an answer.  That's not acceptable either, and one of the auto-generated comments (from the Low Quality review queue) is also applicable in your situation:

If you have a new question, please ask it by clicking the Ask Question button.  Include a link to this question if it helps provide context.