Note If the file is opened in update mode ('+'), an inputmand like fread, fscanf, fgets, or fgetl cannot be immediately followed by an outputmand like fwrite or fprintf without an intervening fseek or e reverse is also true. Namely, an outputmand like fwrite or fprintf cannot be immediately followed by an inputmand like fread, fscanf, fgets, or fgetl without an ...
Get Price