Pass by refrence

int& operator[](int i){
return arr[i];
}
in this if we do cout<<arr[2] then why not address should be printed why only value is printed;

@priyamomer3
hello priyam,
please check this article -> https://www.geeksforgeeks.org/passing-by-pointer-vs-passing-by-reference-in-c/