Programming: Part 1: Understanding Pointers
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.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.