c - How to use fscanf () format string - Stack Overflow
Apr 11, 2019 · while(fscanf(file, " %s %s, %d", operation, address, &size) != -1) As written, it puts the letter into the correct var (operation), but adds ,number to the end of the address and then assigns something ...