Wednesday, October 19, 2005

Re: clear the concept of 2D array and pointers


The & specifies an address in memory.

&some_var This provides the address of some_var
some_var The actual value of some_var.

Same with arrays except that arrays are noted with brackets.

0 Comments:

Post a Comment

<< Home