What is pointer
![]() |
What is pointer
A pointer is variable in memory that contains the memory address of something else like a structure or another variable. Pointers can come in handy when passing information to another part of your code because they can represent a large piece of data by simply "pointing" to it. You can pass information to other functions either by just the address (passing by reference) or the data itself. (by value). C# handles pointers a little different so do some reading and have fun.
Try this detailed discussion of Pointers in C:
HowToProgramC : Pointers in C / C++
All times are GMT -7. The time now is 02:10 AM. |