Skip to main content
2 of 2
improved formatting
hotwebmatter
  • 3.1k
  • 2
  • 14
  • 30

As you know arrays start with index 0. it means name of outfile should be char *outfile = argv[3]; , not argv[4].