Can someone confirm this is correct


#1

I understand everything in this chapter including the cartesian coordinate converter but I was just curious if how I was reasoning this in my head is actually correct. In the example with the modf function is the reason that he doesn’t assign integerPart a pointer because its not pointing to another variables address in memory but instead actually having it’s own memory address passed to the function and then having the value returned by that function essentially stored in its memory address?

thats how I’ve been reasoning this in my head just wanted to know if this was correct!