| ??? 09/10/01 11:58 Read: times |
#14856 - RE: Passing Arrays? |
It might help if you think about the very close relationship between pointers & arrays in 'C':
When you define an array in 'C' char myArray[];the name of the array acts a pointer to the array data; ie, myArray and &myArray[0] are equivalent. The 'C' [] operator is the indexing or offset operator, and can be applied to any pointer; thus, myArray[0]; // The byte pointed-to by myArray myArray[1]; // The next byte myArray[10]; // 10 bytes after the one pointed-to by myArray etc |
| Topic | Author | Date |
| Passing Arrays? | 01/01/70 00:00 | |
| RE: Passing Arrays? | 01/01/70 00:00 | |
| RE: Passing Arrays? | 01/01/70 00:00 | |
RE: Passing Arrays? | 01/01/70 00:00 |



