int main()
{
    FILE *in, *out ;

  in = fopen("test.dat", "w");

   out = fopen("output.dat", "w");

  in = fopen("test.dat","r");

  fclose(out);