Multiple return values form functions using Pointers
I need to ask this: I need to modify the value of some variables by calling another function.This has to do with elements of a linked list.
The funct2 should take a value of the pointer which will be modified in my funct1. Now using this I need to change the values of a,b,c so that when I return back to funct1 I have new values which I then can use to evaluate my "some new expression" . Basically I want my functionto return multiple values. I cannot undestand how to use pointers for this.
struct yz *ptr;
b= some expression;
a=some new expression;
b= somenew expression;
Some halp would be appreciated.