Question
a.
To read successive characters from an open file . getchar and scan f can be used interchangeably
b.
To read successive characters from an open file. getchar and read can be used interchangeably
c.
The read system call reads from the buffer
d.
None of the above
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Choose the correct statement.
Similar Questions
Discover Related MCQs
Q. Which of the following is not the work of a C-preprocessor?
View solution
Q. getc (stdin)
View solution
Q. Which of the following initiates the sequence of events that ultimately allows a user to login?
View solution
Q. Which of the following file names cannot be displayed if la ls* is run?
View solution
Q. Which of the following displays the exit status of the last executed command?
View solution
Q. Which of the following options for the shell command test should be followed by the file descriptor?
View solution
Q. The state of signals are
View solution
Q. The disadvantage of a pipe is that
View solution
Q. Which of the following shell commands displays the contents of each of the command line arguments one by one
View solution
Q. The desirable features of a new shell script you write is that
View solution
Q. Shell script
View solution
Q. Which of the following shell script's looping features does not recognize the break command?
View solution
Q. The command cc x.c && a.out
View solution
Q. No shell script can take input from
View solution
Q. A C program should be compiled with -g option (like cc -g x . c) to use
View solution
Q. The command pwd displays /x/y. After executing the command chmod u -x. which of the following commands will not work?
View solution
Q. The header files used in C programs arc usually found in
View solution
Q. cat/dev/tty
View solution
Q. Choose the correct statements.
View solution
Q. Choose the correct answers if the command ls -l /dev/mt0 display's
brw_rw_ _ _ _ 1 root 3, 0 Apr18 1:05 mt0
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!