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

Bills become laws through a detailed and thorough process, to ensure they are fair and beneficial to citizens. What step correctly completes this list of action
which term collectively describes hard disks, CDs, and flash drives?
Waterman Ormsby described New Mexico as
Solve for t: c= 6n -5m/11t
When 0.040 mol of propionic acid, c2h5co2h, is dissolved in 750 ml of water, the equilibrium concentration of h3o+ ions is measured to be 1.84 x 10-3 m. what is
What constant do you need to add to each quadratic to complete the square? 1. x2 - 4x = 0 4 2. x2 - 8x = 6 9 3. 3x2 + 18x = 24 16
What was the significance of the Battle of Stalingrad during World War II? A. It knocked the Soviet Union out of the war. B. It was the first large-scal
Explain how burning a candle is an example of both physical and chemical changes.
Help math please please
What is the solution to the equation fraction 3 over 5 n minus fraction 4 over 5 equals fraction 1 over 5 n?