Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- FILE *bukafile;
- char f[50],ff[50];
- bukafile=fopen("F1.txt", "r");
- fscanf(bukafile,"%s", &f);
- fclose(bukafile);
- bukafile=fopen("F2.txt", "r");
- fscanf(bukafile,"%s", &ff);
- fclose(bukafile);
- bukafile=fopen("F3.txt", "w");
- fprintf(bukafile, "%s %s",f,ff);
- fclose(bukafile);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement