(a) Describe various modes of opening a data file in C. (06) (b) Diff…
Previous year question for Computer Programming.
Question
(a) Describe various modes of opening a data file in C. (06)
(b) Different between the following
(i) fread( ) and fscanf( )
(ii) fwrite( ) and fprintf( )
(iii) getw( ) and putw( )
(iv) fseek( ) and ftell( ) (08)
(c) Write a C program to read and display a text from file. (06)
- Year: 2018
- Subject: Computer Programming