C - Files and Preprocessors
C - Files and Preprocessors
2. The way to access file contents from a program is
- by using library functions
- by using system calls
- both options a and b
- to use a linker
3. Stream oriented files are accessed through
- system calls
- library functions
- linker
- loader
5. C supports
- high level files
- low level files
- both options a and b
- executable files only
6. A stream is
- a library function
- a system call
- a source or destination of data that may be associated with a disk or other I/O devices
- a file
7. I/O stream can be
- a text stream
- a binary stream
- both options a and b
- an I/O operation
8. File opening is
- a default action in file processing
- an action of connecting a program to a file
- not necessary
- not using any library function
9. File defined in stdio.h is
- a region of storage
- a data type
- not a data type
- a variable
10. A file pointer is
- a stream pointer
- a buffer pointer
- a pointe to FILE data type
- all the bove