| 7 | #define endl '\n' |
| 8 | |
| 9 | int main(){ |
| 10 | cout<<INT_MAX<<endl; |
| 11 | //int a= (1>>32)-1;//here we can not store cause first 2^32 have 33 digit then it will subs 1 so it need space for 2^32 |
| 12 | unsigned int a=(1>>32)-1; |
| 13 | cout<<a<<endl; |
| 14 | //2^32 have 33 digit which can not be store in int because it can store only 32 digit |
| 15 | //there are two types of int 1. signed int (simply --int) |
| 16 | //in signed int we can only store 31 bits cause in this 1 bit is reserved for the sign i.e + /- |
| 17 | //2. unsigned int in this we can store 32 bits as it have no sign its always +ve |
| 18 | |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 |
nothing calls this directly
no outgoing calls
no test coverage detected