0
In the part " temp=*num1 " does *num1 refer to adress or value ?
I can't understand ... pls explain someone https://code.sololearn.com/ce4zw2L6A80O/?ref=app
1 Odpowiedź
+ 1
<num1> is a pointer that references an `int` value.
<temp> is a local `int` variable.
temp = *num1;
Here means: Read the *value* from the address stored in pointer <num1> and assign that *value* into variable <temp>.