hi
Im learning C programming in linux and book gave a warning that when file is open for reading and writting the following restrictions apply:
-Output cannot be directly followed by input without intervening fflush,fseek or rewind
-Input cannot be directly followed by output without intervening fseek,fsetpos or rewind
Why these restrictions? What would happen if we didn't call one of those intervening functions?
thank you for your help