Answer The function main will write the following on the console
and so on until the user stops it with ctl-c.