I have a struct like this:
I want to acces the pointer defined inside the struct later. How can I call it? I tried this, which works with non-pointer variables. But it gives a parse error.Code:struct Person { double number; int age, *exampoint; }Prsn[50];
Normally I call something inside my array of struct by writing the struct's name, a dot and the required variable. But how can I get the pointer? Please tell me if I'm making a logical mistake in thinking.Code:Prsn[1].*exampoint=&a[1]