MCQOPTIONS
Saved Bookmarks
| 1. |
Point out the error in the program? #include int main() { char ch; int i; scanf("%c", &i); scanf("%d", &ch); printf("%c %d", ch, i); return 0; } |
| 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 | |