which function is used to read data from the keyboard and stores it in the memory
Answers
Answered by
2
Explanation:
scanf
- scanf() reads data from the keyboard.
Answered by
1
Answer:
scanf() is a "user-friendly" input function, it skips over spaces and new lines so if we are required to input two integers we could type in the two integers either both on the same line, or one on each line. Unlike print() it's not normal to put any text in the format string, or \n at the end, if we want to read in two integers the format is just: "%d %d".
Similar questions