I Want to know that what the difference between int and longint is
Although they have the same siza (4 bytes)
asmaa_4 0
Newbie Poster
Recommended Answers
Jump to Post
long int
is guaranteed not to be smaller thanint
; that's it.
long int
might be the same size asint
, it might be bigger thanint
, it will not be smaller.In your system, it's the same size. On some systems, it might be bigger, so it could hold …
All 4 Replies
Moschops 683
Practically a Master Poster Featured Poster
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
rubberman 1,355
Nearly a Posting Virtuoso Featured Poster
yasir prince 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.