C Language - Files

You Are Here :: Home > C Language > Files - General Questions

 
19.

This function allows a programmer to delete a file in the MSDOS environment.

A. unlink B. remove
C. rename D. newname




20.

Text files are nice because they _.

A. are more efficient than binary files B. take up less space then binary files, typically
C. can be processed (i.e. read from or written to) faster D. are human readable




21.

Closing and reopening a file effectively does the same thing as a(n)

A. fflush B. rewind
C. fscanf D. fseek




22.

The _____ function takes a number of bytes from an input file and writes them at an address in main memory. It is meant to do block transfers of bytes with no conversions.

A. write B. fwrite
C. fread D. sconf




23.

What is the purpose of getc()

A. read a character from STDIN B. read a character from a file
C. read all file D. read file random




24.

What is true about fputs function

A. write to a file B. takes two parameters
C. requires a file pointer D. all of above




« previous

1

2

3

4

5

6

7

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on