Pregunta de entrevista de Tata Consultancy Services

IOT,Difference between function and subroutine