scanf | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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