array or pointer is faster access?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avinashphilip
    New Member
    • Jul 2007
    • 1

    array or pointer is faster access?

    array or pointer is faster access?
    i feel array is faster, if any conflict please help me
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    An array is not a pointer.

    An array is a built-in container of variables.

    A pointer is a variable that contains an address.

    You cannot compare two different things.

    Maybe you could expand your question a little so I could understand better.

    Comment

    • ilikepython
      Recognized Expert Contributor
      • Feb 2007
      • 844

      #3
      Originally posted by weaknessforcats
      An array is not a pointer.

      An array is a built-in container of variables.

      A pointer is a variable that contains an address.

      You cannot compare two different things.

      Maybe you could expand your question a little so I could understand better.
      This is the articles section. It should be moved to the forum.

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        Moved .

        Comment

        Working...