//#include //#include #include //myFile_fopen1.cpp using namespace std; void readfile(char *); int main() { FILE * filePTR1; char *str1[] = { "This is a test" }; char *filename="Text1.txt"; // file open with write filePTR1 = fopen(filename, "w"); if(filePTR1==NULL) {cout<<"\n eror in opeing file"; exit(1);} if(filePTR1!=NULL) {cout<<"\n file "<