Discussion :: Input / Output
-
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 : Option B
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook