Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. size of integer is 4,long long int is 8 byte and it can access about 19 digits data and for unsinged long long int size also 8 byte but handle larger value than long long int but this is less than 20 digits.Is there any way that can hangle over 20 digits data.
  2. #include<iostream>
  3. using namespace std;
  4. int main()
  5. {
  6. unsigned long long int a;
  7. cin>>a;
  8. if(a>789456123789456123123)//want to take a higher thand this digits
  9. {
  10. cout<<"a is larger and big data"<<endl;
  11. }
  12. }
  13. I searched about it for a while but didn't find helpful contents.all about is java biginteger..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement