C: Using scanf to assign more than one value.

Subscribers:
772
Published on ● Video Link: https://www.youtube.com/watch?v=Bu2d5hXJTTM



Duration: 1:48
10 views
2


Short demonstration of how scanf can be used to accept input for more than one variable assignment. In this case, an integer and a double are assigned. Note what happens when a double is entered for an integer, and vice versa.

Git repo: https://github.com/pereiradaniel/c_programs/blob/master/scanf/scanf.c
Blog: https://pereiradpg.blogspot.com/2023/01/c-using-scanf-to-assign-more-than-one.html







Tags:
C programming
C language
computer programming
coding
tutorial
scanf
variables