zap is undeclared, therefore it will lead to compiler error, but that is not complete program, therefore we can assume zap is declared...
moreover there is no problem having variable same as function name with in that function, so the answer is 9
yes we have to assume that, function return the value also...
otherwise how we will compute n>2 ?
@shivam sharma 5
is it your self doubt? or somewhere you got this question?
if somewhere you got this question, what is the answer provided by them.