Having segmentation falut error


this is code please anyone can clear my doubt