What is the use of zero offset in fseek() function with SEEK_CUR?
When a stream is opened for both reading and writing, you are not allowed to directly switch between reading and writing. §7.21.5.3 ¶7 of the ISO C11 standard states the following: When a file is opened with update mode (‘+’ as the second or third character in the above list of mode argument values), both … Read more