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

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

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

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

Source Link

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