C-Command Line Arguments

C-Command Line Arguments
91. When opeating system allocates memory from RAM for a file is called
  • Buffer
  • Streams
  • Node
  • None of the above
Show Answer
92. If stream is not loaded into memory the file descriptor returns
  • 0
  • 1
  • -1
  • None of these
Show Answer
93. When the current active file pointer is shifted to end of file, get() returns
  • 1
  • 0
  • -1
  • None of the above
Show Answer
94. Flowing of data from a device into buffer and buffer to devie is called
  • stdin
  • Stream
  • Buffer
  • FILE
Show Answer
95. The file handler of a file is of type
  • int
  • char
  • float
  • Generic
Show Answer
96. The function fseek() returns
  • A non zero value on success
  • A zero value on success
  • A zero value on failure.
  • None of the above
Show Answer
97. Operating system represents a file in two different ways, such as
  • Text file and binary file
  • Binary file
  • Text file
  • None of the above
Show Answer
98. The file present in disk is always in
  • Text format
  • Low level format
  • Binary format
  • None of the above
Show Answer
99. What is buffer size of a stream?
  • 256 bytes
  • 512 bytes
  • 1024 bytes
  • None of the above
Show Answer
100. Fseek command works in File pointer but which of the following command works in file handler
  • fseek
  • Iseek
  • hseek
  • None of the above
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test