I tried changing umask as:
umask 0012 for file c.
-rw-rw-r-- 1 unipro unipro 0 2010-10-15 11:30 c
umask 0013 for file d.
-rw-rw-r-- 1 unipro unipro 0 2010-10-15 11:32 d
How is it that both have the same permissions,even after different umask permissions.