copy content of1 file to another file in file section of c language is wrong.its not working.please update this
I checked the code, it’s working fine. Are you getting any compilation error or is the content not getting copied to another file? Also check that you have given the correct path of the two files.