14. Consider the following statements
(1) scanf("%c%f%d", city, &price, &year)
(2) scanf("%f%d", & amount, &year)
(3) scanf("%d%d", &price, &year)
(4) scanf("%c%d", &name, &price)
The invalid statement/statements (is/are)
(a) Only (1)
(b) Both (2) & (3)
(c) Both (1) & (4)
(d) Only (4)
il :
Answers
Answered by
0
Only first
scanf("%c%f%d",&city, &price, &year);
This is the correct one
Similar questions