changed output filename for c program