#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(){
FILE *fp;
char c;
char str[1000];
char name[10]="mario";
fp=fopen("df.txt","r+");
fputs("sdsdnsd",fp);
Type: Posts; User: Bhuvan
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main(){
FILE *fp;
char c;
char str[1000];
char name[10]="mario";
fp=fopen("df.txt","r+");
fputs("sdsdnsd",fp);
thank u:) how to read the next line in a c file
How to go to the begining of a line in a file in c?