Why should i care of overflow? if the number overflow it will give me any -ve nu

why should i care of overflow??
if the number overflow it will give me any -ve number which will not be equal to the input number. so any way my function will return false.

Click here to start solving coding interview questions