Because of the statement:
printf("%d", mutliply(a));
So whatever value is returned from your function will be printed. But notice that if
a
is non-zero on entry you do not have a matching
return
statement, so strictly speaking this code should not compile.