the problem is im not exactly sure why its causing a segmentation fault. it only occurs when i enter data to the files and then close the program, reopen and try to view...
and sorry so to confirm i should replace that with
followed by what in code?Code:fgets(account_description[tot_accounts], sizeof(account_description[tot_accounts]),fp_account);