#include <stdio.h>
void readFile(char file[]) {
FILE *fp = fopen(file, "r");
char ch;
while ((ch = fgetc(fp)) != EOF)
putchar(ch);
fclose(fp);
}
int main()
{
char file[100] = "d:\\data.txt";
readFile(file);
return 0;
}
/*
run:
c c++ c#
java python
*/