The number of students appearing at the written examination increases every year.
Is the above sentence grammatically correct ? This is a error spotting question asked in my exam although for sounds better here but is using at grammatically incorrect ?