How to store and print large integers in c ?

Discussion in 'C' started by firoz3321, Sep 5, 2010.

  1. firoz3321

    firoz3321 New Member

    Joined:
    Sep 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have seen similar posts but could not find the exact answer that i can understand.

    I have to store and print the value which will 2 power 5 digit number.

    ex:
    2 ^ 55555
    2 ^ 99999
    etc ...

    Please help me

    coding: C
    Compiler: DevC++
     
  2. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    19
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    http://www.techgeek.in
    You have to use "double" datatype....there are no other options..
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice