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

again, please help. i dont know any of this
Expand and simplify: (6a+2)(6a-5)-(7a-1)(a-2)
For a population with µ = 100 and σ = 20, what is the X value corresponding to z = -0.75?​ a. 85​ b. ​105 c. 95 d. ​115
Asking the question “Why is this true?” is a good way to generate _____________ for speeches on question of fact. a. supporting materials b. a thesis statement
A man buys eggs at GH 4.50 per crate of 30 eggs. He finds that 20% of the eggs are broken but sells the rest at GH¢ 3.00 a dozen. Find his percentage profit to
ABC is a tangent to the circle below. O is the centre of the circle. Work out the size of angle 0. Give reasoning to justify your answer. C B A 0 22° O D Not dr
need help ASAP! Pls+Ty
Countries that have moved from primarily agricultural to primarily manufacturing and industrial activity are: A. Developed countries B. New industrialized count
if a train can travel a distance of 480 km in 12 hours, how much time will it take to travel 360 km, assuming that the average speed is maintained throughout th
Simplify: 9x² - 4x - 3= [?] X=-2