Question
pointer
Posted on September 22, 2015 at 18:24
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 #pointer