File handling in c

File handling me jab file open karte hain toh Jo file name hota hain woh kha pr allocate hona chahiye maine notepad aur wordpad bna kr dekha file ko lekin meri file me null rhta hain