IBM Interview Question

Basic function call in coding round