Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: Two dimensional pointers and Two dimensional arrays

Reply
Thread Tools

Re: Two dimensional pointers and Two dimensional arrays

 
 
Alf P. Steinbach
Guest
Posts: n/a
 
      08-18-2003
On 18 Aug 2003 01:17:43 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) (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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To convert a one dimensional array into a two dimensional array using C amrutha0303 Software 0 08-03-2010 10:02 PM
multi-dimensional arrays to 2-dimensional arrays Wirianto Djunaidi Ruby 2 04-29-2008 07:31 AM
C multi-dimensional arrays and pointers Richard Hayden C Programming 4 11-08-2004 09:39 AM
Re: Two dimensional pointers and Two dimensional arrays Icosahedron C++ 8 08-21-2003 05:15 AM
Re: Two dimensional pointers and Two dimensional arrays John Harrison C++ 4 08-19-2003 04:00 PM



Advertisments