I have a part of code, I don't understand how it works.
I have int Save(int _key, char *file);
And this method Save
accepts string as a char pointer Save(i, "log.txt");
So what happens at the end is inside the Save
method I use fopen(file, "a+")
and it works perfectly fine.
However I don't understand how it accepts "log.txt"
for char *file
.