In the CBSE improvement exam they take the better mark of the two years.. Won't they?
Dear Simna,
If you are asking for JEE Main then if you write all the subjects in improvement exam then the best of the two performances will be considered.
Good luck!!