MCQOPTIONS
Saved Bookmarks
| 1. |
Point out the error in the program?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ char ch;_x000D_ int i;_x000D_ scanf("%c", &i);_x000D_ scanf("%d", &ch);_x000D_ printf("%c %d", ch, i);_x000D_ return 0;_x000D_ } |
| A. | Error: suspicious char to in conversion in scanf() |
| B. | Error: we may not get input for second scanf() statement |
| C. | No error |
| D. | None of above |
| Answer» C. No error | |