i found that the limits of int and short int are the same........ i just want to know then what is the need of 2 with the same limits....
aasi007onfire 0 Newbie Poster
Recommended Answers
Jump to PostI doubt they're the same.
Jump to PostEssentially, it's about programmer choice. Originally, it went something like:
Choose 'short' if you are concerned about the amount of storage taken up.
Choose 'long' if you are concerned about the numeric range of the data.
Choose 'int' if you are concerned about choosing the 'best' performance.The common …
All 8 Replies
iamthwee
aasi007onfire 0 Newbie Poster
Salem 5,138 Posting Sage
Aia 1,977 Nearly a Posting Maven
thekashyap 193 Practically a Posting Shark
aasi007onfire 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
~s.o.s~ 2,560 Failure as a human Team Colleague Featured 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.