Khatam Or Khatim
Diacritical marks are still not used in Urdu, yet we know how to pronounce word which has two or more different pronunciations. Words are transmitted with their sounds. Therefore, those who know the language know it.