Home / MCQ Bank / Computer
Computer File Input Output

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • fscanf() can specifies a stream from which to read whereas scanf() can read only from standard input

Related Computer Questions

A person wants to visit some places. He starts from a vertex and then wants to visit every vertex till it finishes from one vertex, backtracks and then explore other vertex from same vertex. What algorithm he should use? Which of the below is invalid identifier with the main method? A WATS arrangement What will be the output of the following C code if the current system date is 6/22/2017? #include<stdio.h> #include<stdlib.h> #include<time.h> int main() { time_t ct; time(&ct); struct tm *mt=localtime(&ct); printf("%d\n",mt-> tm_date); } Which of the following is the part of the operating system?