Hi I have a question from ab ook im trying to understand but can't get it. If someone can shoot me in the right direction i would appreciate it.
The question is:
Assume that ip has been declared to be a pointer to int and that result has been declared to be an array of 100 elements. Assume further that ip has been initialized to point to an element in the first half of the array.
Write an expression whose value is the element in the array after the element that ip points to.
My code is:
Please help thanks
DRU
The question is:
Assume that ip has been declared to be a pointer to int and that result has been declared to be an array of 100 elements. Assume further that ip has been initialized to point to an element in the first half of the array.
Write an expression whose value is the element in the array after the element that ip points to.
My code is:
Code:
*ip[++&ip]
DRU
Comment