হোমc string c program to write a string into a file byengr. ahsan arif -মার্চ ০৫, ২০১৫ 3 Write a c program to write a string into a file << Go to Index Page >> Tags c string file file programming fprintf() fscanf() pointer and file string array Facebook Twitter
#include
উত্তরমুছুনint main()
{
FILE *fp;
fp=fopen("C:/test.txt","w+");
fprintf(fp,"My name is shohan");
fclose(fp);
return 0;
}
#include
উত্তরমুছুন#include
int main()
{
FILE *fp;
fp=fopen("E:/FILE/salman.txt","w");
fprintf(fp,"my name is salman");
fclose(fp);
return 0;
}
Your blog provided us with valuable information to work with. Each & every tip of your post is awesome. programming homework
উত্তরমুছুন