Pointer Questions

What would a line of code like this do?

int *****************ptr;
closed account (1vRz3TCk)
Give the programmer a big headache.
Well that was detailed. Anyone else have a reasonable answer.
It'll allocate 4 bytes on the stack, which will be interpreted as a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer to an int... basically
Thank you.
adikid89: You missed one level of indirection.
closed account (1vRz3TCk)
It could be 8 bytes on the stack (64 bit int) and I think there is another pointer to needed in there (maybe).
Topic archived. No new replies allowed.