#include <stdio.h>

int main(int argc, char *argv[])
{

	/*On the command line we pass in a file.  We create a file pointer
	 *called 'in'. We open the file and set the mode to read.  
	 *Then we use fprintf to write to the file */
	FILE *in = fopen(argv[1], "r");

	/*fprintf prints hello world to the file pointed to by 'in'*/
	fprintf(in, "Hello World");
	
	return 0;

}