Gaurav interview question

define a function in any language