Thursday, 11 February 2016

Why does C++ have more than one integer type?

Leave a Comment

Ans:

Having more than one integer type lets you choose the type that is best suited to a particular need. For example, you could use short to conserve space or long to guarantee storage capacity or to find that a particular type speeds up a particular calculation.


If You Enjoyed This, Take 5 Seconds To Share It