Did you like how we did? Rate your experience!

4.5

satisfied

46 votes

Why is the following program for file management in C not working?

line 7--- DATA, not DATaand whenever you mention a file name, you should preferably mention its extension, as well. If that also does not resolve the problem, then may be the compiler is having trouble, dealing with putw() and getw(). Instead, try fprintf() and fscanf().

100%
Loading, please wait...