Explain The Following Program With Examples