Frage im Vorstellungsgespräch bei Tata Consultancy Services

what is the difference between function and procedure?