Hi,
      you can assign two dimension  array to pointer like this 

int array[10][10];

int (*ptr)[10] // ptr is pointer to an array of ten int(i,e ptr is pointer to 
single dimension array of 10 integer)

ptr[1] will give you next single(i,e array[1]) dimension array. 

ptr = array;


then you can access array using pointer like.
ptr[0][0] = 0;
ptr[0][1] = 1;


Thanks & Regards,

Rajath N R

--- On Tue, 11/18/08, s_zhbjvd <[EMAIL PROTECTED]> wrote:
From: s_zhbjvd <[EMAIL PROTECTED]>
Subject: [c-prog] need help
To: [email protected]
Date: Tuesday, November 18, 2008, 3:40 AM










    
            Hello how are you all I just want to know that how can we use 
pointers 

on a two dimensional array please explain !!!!!!!!




      

    
    
        
         
        
        








        


        
        


      

[Non-text portions of this message have been removed]

Reply via email to