Hey there was a function in my text which read like this;
Suppose this is the input
a=5, b=10, c=15
void find(int a, int& b, int& c)
I want to know why I find this function so confusing.
So I understand c= a+b
then b= 2* temp;
I don't get this what happens when it says a =b ? Does this assign a the value of 10.
But if it does then does the next line have b as 10 so it would be 10 = 2*temp?
Or is it just b= 2*5 where 5 is just the value of a.
So as you can read I'M CONFUSED! HELP ha.
Thanks a lot.