Vidyalelo
C Programming · Q167

File Input Output

Programming · C Programming · question 167

Q167

Choose the right statement for fscanf() and scanf()

A.
fscanf() can read from standard input whereas scanf() specifies a stream from which to read
B.
fscanf() can specifies a stream from which to read whereas scanf() can read only from standard input
Answer
C.
fscanf() and scanf() has no difference in their functions
D.
fscanf() and scanf() can read from specified stream

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board