that if
Im trying figure out how to determine whether a binary addition has overflow. My understanding is that if the cin is not equal to cout then there is overflow.
So that in that case for the following example: 01110101 + 10111011 = 00110000. Has overflow. Is that correct.