1.

Select the correct value of i from given options i=scanf("%d %d", &a, &b);(a) 1(b) 2(c) 3(d) No value assignedThe question was asked during an online interview.Asked question is from scanf topic in portion Input and Output in C of C

Answer»

The CORRECT answer is (b) 2

Easiest explanation - i STORES the number of read DATA from the stream. It is useful for detecting an error in data input.



Discussion

No Comment Found

Related InterviewSolutions