Hello aspirant,
There is not any such rule that you marks will be deducted if you write answers in this way. It all depends on the the teacher checking you test paper. But we are supposed to write our answer in the best possible presentation. If you have write the correct question number, then your marks should not be deducted.
Thank you
Hope it helps you.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile