As @Keylum states, your necessary answer should be: Change fputs(usuario,FILE *cuentas)
to
fputs(usuario,cuentas);
and fputs(contrasenia,FILE *cuentas)
to
fputs(contrasenia,cuentas);
solved Error-expected expression before FILE in fputs [closed]