In search function in hashmap, there is T* while in easy access operator overloading function it is T&. Please explain the difference between them
What is the difference between T* and T& return type of functions?
hello @Ashish07
pls read about reference variables in c++.
and difference between pass by pointer and pass by reference.
and if after reading this u get any doubt ,feel free to ask