adplus-dvertising
frame-decoration

Question

Consider following statements:

putchar(getchar());
putchar(getchar());

If
a
b
is the input, then output will be

a.

An error message

b.

this can't be the input

c.

a, b

d.

Undefined

Posted under C Programming

Answer: (b).this can't be the input

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Consider following statements: putchar(getchar()); putchar(getchar()); If a b is the input, then output will be