why do i have to open a file in binary mode to write in it in c?
- by mekasperasky
fprintf(file, "%d %d %d", array[0], array[1], array[2]);
for this statement to work i have to open the file in 'wb' mode rather than 'w' mode . How does a binary mode make the syntax work?