adplus-dvertising
frame-decoration

Question

What is the default return-type of getchar()?

a.

char

b.

int

c.

char *

d.

reading character doesn’t require a return-type

Posted under C Programming

Answer: (b).int

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the default return-type of getchar()?