SEARCH FUNCTION IN HASHTABLE CLASS

BHAIYA ,
JESE HMAARE SEARCH FUNCTION KA PROTOTYPE HAI ,

T* SEARCH(STRING KEY)
{

}

,

TO JO HMAARA MAIN FUNCTION HAI USME CALLING ESE NI HONI CHAHIYE?

T *ANS =SEARCH(STRING) ??

BHAIYA NE VIDEO MAI ESE KI HAI ->

INT *ANS=SEARCH(STRING)

Hello @CODER_JATIN you are confused between why he has not written T*?
please confirm?

Yes , ,

@CODER_JATIN i think instead of using that T* here he himself has declared the data type.
because it depends what answer will be returned from it.
we have defined T as the type of function only.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.