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

One hundred people in your neighborhood always drive to work between 7:30 and 8:00 A.M. and arrive 30 minutes later. Why must two people always arrive at work a
1 One kilogram is approximately pounds
FrictionQuestions1 Jo, Daniel and Helen are pulling a metal ring. Jo pulls witha force of 100N in one direction and Daniel with a forceof 140 N in the opposite
What is the amplitude? A. The distance from center of the wave to the crest or through B. The lowest point in the wave C.The highest point of the wave D. The
what element has greatest atomic radius from group 3?
How do you make and solve scatter plots?
2(4 + 3m) = answer please ;w; thank you :D
If A = 3x² + 5x - 6 and B=-2/- 6x + 7, then A-B equals 1) -5x2 - 11x + 13 2) 5x2 + 11x - 13 3) -5x2-x+1 4) 5x2-x+1
You slightly overfill your water glass and notice that the liquid forms a dome shape just above the glass's surface without spilling over. What property of wate
If you earn $320 a week, what is your gross annual wage?