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

In the reaction _S+3O2→2SO3 , what coefficient should be placed in front of the S to balance the reaction?
Which of the following is a true statement regarding frontiers?
plz help im on a time limit 10:00 The SI prefix centi- indicates 1 _____. A. hundred B. thousand C. hundredth D. thousandth
99 POINTS AND MARK AS BRAINLIEST AND PLEASE HURRY In Ms. Simon's 3rd grade classroom, all students receive the same supplies and take turns as the line leader.
What is the major difference between eukaryotic and prokaryotic ribosomes?
According to Coleman's major social class categories, which of the following social classes in our culture has these characteristics: lives in well-kept neighbo
find the value of x and y
What was the primary reason European explorers wanted to explore new land
Peter designed a road with a curve of radius 30 m that is banked so that a 950 kg car traveling at 40.0 km/h can round it even if the road is so icy that the co
What is it that is causing more and more endangered species of certain habitats and how can the situation be improved?