What is the error


it is showing zero for given output in case of true