How do take everything that's entered with scanf() and put it variable? I want to take everything that a person inputs with scanf but it only takes the first letter. E.g.

`scanf("%c", &amp;a);`

If I were to write abcd it would only take a, I know I can put %4c to take 4 letters, but how do make it be infinite?