scanf | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

scanf

The input get stored in scanf ...then in the given example why does it get stored in printf

1st Oct 2019, 3:31 AM
SURAJ KUMAR
3 Answers
+ 6
Hello, 😊 Can you specifying your question correctly! • Include relevant TAGS • Use the 🔍SEARCH... bar future for similar QUESTIONS or ANSWERS before posting — https://www.sololearn.com/post/10362/?ref=app
1st Oct 2019, 5:10 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
"Then, in the given example why does it get stored in printf" Which example? where? Please add C in Relevant Tags for scope clarity 👍
1st Oct 2019, 3:41 AM
Ipang
+ 2
it's not stored in the function, the function only allows the user to input then help the user to store the input in the buffer, which can be use later on, or get printed to the screen with printf and other functions
1st Oct 2019, 7:11 AM
✳AsterisK✳
✳AsterisK✳ - avatar