Pointer to a structure

Hello!
Please, if one structure has more objects (let's say 8), pointer to which of them is pointer of the structure?

Many thanks!!!

Your question isn't very clear.
If by "8 objects" you mean 8 instances of the same struct, then your question doesn't follow logically because there is no such thing as a "pointer of the structure." A pointer can point to an struct object, but a pointer can't point to the struct itself. Just like you can't code
int* p=int;
to point to the int variable type.

If by "8 objects" you mean 8 data members of a single struct, then a pointer to any of the 8 data members of an object of that struct wouldn't constitute a "pointer of the structure," for the same reason that I explained in the first paragraph.
" A pointer can point to an struct object, but a pointer can't point to the struct itself."

THIS is the answer.

It means, one structure has so many pointers pointing to it as many objects it has.
MANY THANKS!!!
Topic archived. No new replies allowed.