sanceKatnmontz
sanceKatnmontz sanceKatnmontz
  • 18-10-2016
  • Computers and Technology
contestada

(In C prog.) What is the difference between scanf, getche and getchar?

Respuesta :

ringtail
ringtail ringtail
  • 18-10-2016
getchar() only reads a single character input from any input stream.
getche()
reads a single character from the keyboard and displays immediately on output screen without waiting for enter key
scanf() reads the whole input line according to the data type you specified.


Answer Link

Otras preguntas

Find ratio equal to 12:7
The length of a rectangle is three times longer than its width. The perimeter of the rectangle is 16 feet. If x represents the width of the rectangle, which equ
How did the spread of Islam affect political and social life in East, West, and South Africa? -it banned most existing african traditions -it provided fixed law
Help please! Which of the following is not a controversy that surrounds the archaeological discovery of a skeleton known as Kennewick Man? A. origin of the skel
explain how to break apart the addends to find the sum of 25 +16
where do most people in egypt live today?
What's does 8.84 divided by 0.68 ?
which of the following would be the most important change in most women in saudi arabia? A)new styles of hijabs and sharshafs B)the right to vote C)the ability
Find the percent of the number. 522% of 85
The Reyes family decides to install expensive solar panels to replace their current energy source, which uses fossil fuel. Currently, this switch to solar energ