Re: Two dimensional pointers and Two dimensional arrays

Discussion in 'C++' started by Alf P. Steinbach, Aug 18, 2003.

  1. On 18 Aug 2003 01:17:43 -0700, (Vivek) wrote:

    > I know this is a pretty old topic, and must have been discussed
    >time and again. I want to the exact reason why a two d array(ex. int
    >arr[20][10]) can't be accessed using a two d pointer(int **p).


    That's a pointer to pointer.

    There's no such thing as a two-dimensional pointer.
     
    Alf P. Steinbach, Aug 18, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Harrison
    Replies:
    4
    Views:
    6,958
    Default User
    Aug 19, 2003
  2. Icosahedron
    Replies:
    8
    Views:
    690
    Vivek
    Aug 21, 2003
  3. Richard Hayden

    C multi-dimensional arrays and pointers

    Richard Hayden, Nov 1, 2004, in forum: C Programming
    Replies:
    4
    Views:
    1,042
    Dave Thompson
    Nov 8, 2004
  4. Kev Jackson
    Replies:
    2
    Views:
    143
  5. Wirianto Djunaidi
    Replies:
    2
    Views:
    230
    Wirianto Djunaidi
    Apr 29, 2008
Loading...

Share This Page