records that have an equivalent value for a given secondary index item are linked together to form a list
records are loaded in ordered sequence defined by collating sequence by content of key
records are directly accessed by records key field
none of the above
read a character from STDIN
read a character from a file
read all file
read file randomly
fend( )
endf( )
EOF
FEND
-1
0
1
10
FILE is a keyword in C for representing files and fp is a variable of FILE type.
FILE is a structure and fp is a pointer to the structure of FILE type
FILE is a stream
FILE is a buffered stream
A character string containing the name of the file & the second argument is the mode
A character string containing the name of the user & the second argument is the mode
A character string containing file poniter & the second argument is the mode
None of the mentioned
Nothing
NULL
Depends on compiler
rewind() doesn't work for empty files
rewind() may fail for large files
In rewind, there is no way to check if the operations completed successfully
All of the above
int type
char * type
struct type
End of files is reached
When getc() fails to read a character
Both of the above
None of the above
FILE *fopen(const *filename, const char *mode)
FILE *fopen(const *filename)
FILE *open(const *filename, const char *mode)
FILE open(const*filename)
create text file for writing, discard previous contents if any
create text file for update, discard previous contents if any
create text file for writing, do not discard previous contents if any
create text file for update, do not discard previous contents if any
text file
big text file
binary file
blueprint text
– 1
read a line from a file
write a character to a file
write a line to a file
fgetpos()
fseek()
ftell()
fsetpos()
If it is not a macro, it may evaluate stream more than once
if it is amacro, it may not evaluate stream more than once
if it is a macro, it may evaluate stream more than once
no difference between fgetc() and getc()
int
char *
struct
.txt
.bin
.c
none of the mentioned
fclose()
closefile()
fileclose()
endfile()