AnsweredAssumed Answered

pointer

Question asked by rahimi.meysam on Sep 22, 2015
Latest reply on Sep 23, 2015 by rahimi.meysam
Hello. 
i have this structure definition:(ex)
structure example_str
{
     int a[10];
     int b[10];
}
and a function with this definition:
void test(example_str *temp);
 i want to change the value that pointer temp is locating with out using another variable to define.
(not to do like this:
example_str test = * temp.
test.a[1] = 10 ;
)
i want to define arrays value directly.
I would be very thankful if everybody help me.
thank you

Outcomes