Explain the cause of an “integer overflow” and how it could be avoided; support your answer by explaining the difference between a “long” and “short”

10 pts.
Tags:
"computer programmer"

Explain the cause of an “integer overflow” and how it could be avoided; support your answer by explaining the difference between a “long” and “short” int, and how this effects the values that can be stored.?

1

Answer Wiki

Thanks. We'll let you know when a new response is added.

For definitions of Long and Short INT,  check out the Wiki Data Types Page.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    This appears to be a 'test' or homework question. As such, please provide your attempted answer. We may try to guide you if errors or incompleteness seem to be present. But we can't do your work for you.
    35,920 pointsBadges:
    report
  • ToddN2000
    If you are getting this error, you can always try putting you program in debug mode and test the values before the line that is triggering the error. That or take a system dump and read the values it provides.
    134,445 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: