Computer Science, asked by akanksha2940, 8 months ago

integer overflow is not a type of control hijacking. explain ​

Answers

Answered by Vishwaabhi
1

Explanation:

An integer overflow occurs when you attempt to store inside an integer variable a value that is larger than the maximum value the variable can hold. The C standard defines this situation as undefined behavior (meaning that anything might happen).

An integer overflow can cause the value to wrap and become negative, which violates the program's assumption and may lead to unexpected behavior (for example, 8-bit integer addition of 127 + 1 results in −128, a two's complement of 128).

Answered by XG0264
0

Answer:

y yhu erase my answer for?huh?XGKJKKJKJKJKJK

Explanation:

Similar questions