1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

array storing capacity

Discussion in 'C' started by amarnathch, Aug 31, 2010.

  1. amarnathch

    amarnathch New Member

    Joined:
    Aug 31, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    How could i know the total elements an array can store???
    whether it depends on the datatype or os(32bit or 64bit)???
     
  2. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    17
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    It will depend upon the both...let me explain it clearly...array size depends upon the capability to index...the indexing is done with the help of integer...integer size depends upon the OS (8 or 32 or 64)...
     
  3. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    Also one more factor is your memory limit.
     

Share This Page