Added a comment
This is the updated one
Updated code

This one handles files of any size
Updated 18th June

Refer to the comments to see the changes
Modularized code

Have coded as functions and it does the necessary check.
The file is categorized based on the first character. If it is 'E',
then it is considered to be marked for encryption.
Minor change
Screenshots of the program

TestFile - The file that was used to encrypt
EncryptionTest - The output obtained when encryption was done
DecryptionTest - The output obtained on decrypting
DecryptedFile - The decrypted file output
Updated Version

I made the changes required
Updated Version

Appropriate return values defined
Character was missing here
Dynamic allocation of buffers

This code handles the partial reading of files and handling memory
dynamically
Modified
Dynamic File Creation added

Handles and creates files dynamically. Additional buffer removed
Merge pull request #1 from pallavi05g/master

Code Review