Step: Brief Discussion:
When a character sequence of fixed length is supposed to get
user's input which should be 20 characters length, but but
receives less number of characters, the rest of the spaces will have
NULL values and the printer will print all including NULL values. As
a result we see gibberish output, shown in the following two
screenshots


We can instruct a printer or screen display to break out of the loop
after encountering a NULL. The image below shows the effect of break
statement.
