Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main(){
- FILE * fp;
- FILE * fp2;
- char ch[50];
- fp = fopen("/tmp/sehan", "w");
- fp2= fopen("/home/level/11/solution.txt", "r");
- fread(ch, 50, 1, fp2);
- fwrite(ch, 50,1,fp);
- fclose(fp2);
- fclose(fp);
- }
Advertisement
Add Comment
Please, Sign In to add comment