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

Which was not a provision of the Northwest Ordinance? A. a plan for allowing territories to become states B. a law against slavery in the territory C. women's v
American colonies founded for economic reasons were called
Explain the following quote. Answer in complete sentences. An analogy is like instant coffee—it can wake you up, but it isn't the real thing." —Peter da Silva
3.0035 into a fraction
Which British social activist campaigned vigorously for decades to achieve women's suffrage in Great Britain? A. Jane Adams B. Emmeline Pankhurst C. Susan
Marnie purchased a dining room table and 6 chairs for $1,860.00 before discount and taxes. Kristen purchased a queen bed, dresser, 2 night stands, and a chest o
an algebraic expresion that has no like terms ( 2 words)
six sisters share 4 sandwiches equally. How much would each get?
An iced cake costs 10p more than a plain cake. Sarah bought two of each cake. They cost £1 altogether. What is the cost of an iced cake?
can 3/10 be simplified?