Programming: Part 1: Understanding Pointers
Share
The asterisk * denotes the pointer and in this example, the pointer '*' is pointing to a variable called StringOfCharacters. the pointer will start at the first memory location of the variable and can inform what is stored in that memory location. If * StringOfCharacters = "NewbieHack.com", then the pointer would see 'N' as the first character. If 1 is added to the * StringOfCharacters (i.e. pointer = * StringOfCharacters + 1), then the 'e' would be seen by the pointer.