Final answer:
The function that null terminates strings for you is scanf terminates.
Step-by-step explanation:
The function that null terminates strings for you is scanf terminates.
When using the scanf function in C, it automatically terminates the string for you by adding a null character at the end. This is done by scanning the input until it encounters a whitespace character.