Hello folks... I need some questions answered about a program im working on. Lemme first explain what I have... My program takes command line arguments. The command line arguments are names of 2 files. These files each contain letters
from this I am suppose to have them print out the contents from both file1 and file2. This is easy enough.. i've done it all but the catch being I have to have the amount of memory used by the program has to be proportional to the size of the longest line of input. Well.. I've read over malloc about a hundred times and I'm still very very confused as to how to start this portion of the program. I've created the program without it being proportional by just setting a #define MAX_SIZE 80. If you could help me out that would be great!