C Programming - Old Questions

3. Explain various modes in which file can be opened? Write a program to CREATE and WRITE N numbers in a file "NUMBER.TXT" . Open this file then read its content and put all even numbers in one file "EVEN.TXT" and odd numbers in another file"ODD.TXT". [2+4+4]

10 marks | Asked in Model Question