If it is within the course tenure then only re-exam fee has to be paid, otherwise both