Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8835251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:13:03+00:00 2026-06-14T09:13:03+00:00

Many sources, including Microsoft , reference both the int and long type as being

  • 0

Many sources, including Microsoft, reference both the int and long type as being 4 bytes and having a range of (signed) -2,147,483,648 to 2,147,483,647. What is the point of having a long primitive type if it doesn’t actually provide a larger range of values?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:13:04+00:00Added an answer on June 14, 2026 at 9:13 am

    The only things guaranteed about integer types are:

    1. sizeof(char) == 1
    2. sizeof(char) <= sizeof(short)
    3. sizeof(short) <= sizeof(int)
    4. sizeof(int) <= sizeof(long)
    5. sizeof(long) <= sizeof(long long)
    6. sizeof(char) * CHAR_BIT >= 8
    7. sizeof(short) * CHAR_BIT >= 16
    8. sizeof(int) * CHAR_BIT >= 16
    9. sizeof(long) * CHAR_BIT >= 32
    10. sizeof(long long) * CHAR_BIT >= 64

    The other things are implementation defined. Thanks to (4), both long and int can have the same size, but it must be at least 32 bits (thanks to (9)).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read about Big O notation from many sources, including Skiena and the Wikipedia
I am a newbie in cryptographic system but i have seen many sources tell
Was overwriting a TextView class, and as I didn't find many sources, I was
The Flash IDE is capable of embedding many types of uncompressed sound files, including
I have seen many js frameworks (including jquery) using closure around their main function
I am learning ASP.NET MVC 3 from many sources on the internet. I am
I have a few infinite generator methods, including some long-running and infinitely-long-running generators. IEnumerable<T>
I encountered many sites including stackoverflow.com whose page source do not show META tags
Eclipse's SearchEngine class has many methods for searching, including various flavors of search ,
My .emacs is like a roadmap for me where I source many files. Their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.