what is the difference in the following return types-
T* function()
and
T& function()
what is the difference in the following return types-
T* function()
and
T& function()
hi @Parmeet-Kalsi-1631789033630118
T* will return a pointer of type T
T& will return the variable by reference