>*** Huh? How come you get the output then? thats what surprises me. the program seg faults at first printf() but executes the next three printf's. mehul.