Which of the following is an invalid method for input?
(a) scanf(“%d%d%d”,&a, &b, &c);
(b) scanf(“%d %d %d”, &a, &b, &c);
(c) scanf(“Three values are %d %d %d”,&a,&b,&c);
(d) none of the mentioned
I had been asked this question during an online exam.
This question is from Formatted Input in section Input and Output in C of C