a. Prints the contents of the file.
b. Creates a file with content being its file name.
c. Appends into the file its file name.
d. Outputs "Identical" if two files, named through commandline, are identical.
PS: The program should be coded in both C and C++.