PrepAway - Latest Free Exam Questions & Answers

Integer overflow occurs primarily with:

Integer overflow occurs primarily with:

A. string formatting

B. debug operations

C. output formatting

D. input verifications

E. arithmetic operations

F. None of the choices.

Explanation:

An integer overflow occurs when an arithmetic operation attempts to create a numeric value that is larger than can be represented within the available storage space. On some processors the result saturates – once the maximum value is reached attempts to make it larger simply return the maximum result.


Leave a Reply