compilation terminated error in c