Essentially my question is that, in C and C++, if I update a variable that I have previously placed in an array, why does it not update the array?

Ex:

```
int var = 0;  
int list[1];  
list[0] = var;  
var = 1;

printf("%i", list[0]);  

```

I don't understand why it is printing `0` instead of `1`.