Newbie Question

So i have messed around with programming on and off. By no means do i consider myself well versed in programming. And now i'm just stepping into the waters of arduino. So here is my question

if( measure_environment( &temperature, &humidity ) == true )
{

What does the "&" mean or do before the variable?

This link has a really good explanation. It's basically the "address of" operator. "&temperature" corresponds to the actual memory address of the variable "temperature". This allows the function measure_environment() to change the value of "temperature".

Read this:
& reference
https://www.arduino.cc/reference/en/language/structure/pointer-access-operators/reference/

Thanks for the responses guys. I'll take all the help i can get :slight_smile: