Computer Science, asked by LUP, 1 year ago

distinguish between "getchar" and "scanf" function

Answers

Answered by best4
3
overall difference is getchar can only read character input from console(not whitespace) and return its corrosponding int value.
scanf can read many data types and store them in variable .It can read strings also.

LUP: please provide even more information about this.
Similar questions