C-Command Line Arguments Questions and Answers

Practice Mode
Showing 10 of 129 questions
Q91
When opeating system allocates memory from RAM for a file is called
  • A Buffer
  • B Streams
  • C Node
  • D None of the above
Answer: Option A
Q92
If stream is not loaded into memory the file descriptor returns
  • A 0
  • B 1
  • C -1
  • D None of these
Answer: Option C
Q93
When the current active file pointer is shifted to end of file, get() returns
  • A 1
  • B 0
  • C -1
  • D None of the above
Answer: Option C
Q94
Flowing of data from a device into buffer and buffer to devie is called
  • A stdin
  • B Stream
  • C Buffer
  • D FILE
Answer: Option B
Q95
The file handler of a file is of type
  • A int
  • B char
  • C float
  • D Generic
Answer: Option A
Q96
The function fseek() returns
  • A A non zero value on success
  • B A zero value on success
  • C A zero value on failure.
  • D None of the above
Answer: Option B
Q97
Operating system represents a file in two different ways, such as
  • A Text file and binary file
  • B Binary file
  • C Text file
  • D None of the above
Answer: Option A
Q98
The file present in disk is always in
  • A Text format
  • B Low level format
  • C Binary format
  • D None of the above
Answer: Option C
Q99
What is buffer size of a stream?
  • A 256 bytes
  • B 512 bytes
  • C 1024 bytes
  • D None of the above
Answer: Option B
Q100
Fseek command works in File pointer but which of the following command works in file handler
  • A fseek
  • B Iseek
  • C hseek
  • D None of the above
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test