Hey guys,
I am an EE that has found myself doing more and more programming lately, so I have a small question for you guys. I have a good understanding of pointers, but I don't really understand the reasoning behind this:
Why are both the * operators necessary? I've seen this around a bunch, and it seems like it's a pointer to a pointer? Is that correct? I don't really understand it. What is the 'name' of this technique, and what is it used for?Code:int i, index = *((int*)ptr);
Thanks!