There are 2 ways :
1)I tell you what range VC6.0 Integer Data Type is :
-2147483648 to 2147483647
2)You calculate in VC++ :
#include %26lt;math.h%26gt;
cout%26lt;%26lt;Pow(2.0,sizeof(integer)*8);
What is the maximum and minimum numbers we can give to an integer in microsoft visual c++ 6.0?
signed or unsigned? 16, 32 or 64 bit processor? On 32 bit CPU
Signed: −2,147,483,648 to +2,147,483,647
Unsigned: 0 to +4,294,967,295
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment