What does scanf do?

What are the 2 most common traps programmers fall into when using scanf?

Why do many professional C programmers avoid using scanf?


How does scanf work, step-by-step?

How does scanf read integers specifiers in the input data?

How does scanf read float specifiers in the input data?

Here’s an example showing the compiler’s process in doing scanf:


What happens when we place ANY white space inside the format string of scanf?

What happens when we place ANY character inside the format string of scanf?


Why don’t we use & in printf?

What’s a good use for pattern-matching in scanf's format strings?