Pointers and Multidimensional array

pointer access to multidimensional array

Page 1 of 1

2 Replies - 1101 Views - Last Post: 11 May 2010 - 09:13 PM Rate Topic: -----

#1 sreman  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 08-April 10

Pointers and Multidimensional array

Posted 11 May 2010 - 01:35 PM

hi
i am not understanding how to access multidimensional array using pointers .
multidimensional array should dynamic .
Is This A Good Question/Topic? 0
  • +

Replies To: Pointers and Multidimensional array

#2 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1072
  • View blog
  • Posts: 4,531
  • Joined: 09-June 09

Re: Pointers and Multidimensional array

Posted 11 May 2010 - 04:05 PM

a dynamic array of pointers

int **arr = new int*[size];


Was This Post Helpful? 0
  • +
  • -

#3 sarmanu  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 966
  • View blog
  • Posts: 2,362
  • Joined: 04-December 09

Re: Pointers and Multidimensional array

Posted 11 May 2010 - 09:13 PM

Snippet.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1