at 2:00
why are we taking node* getnode(…)
and not void getnode?
Doubt in lecture
you have to return the node whose value == data
hence return type should be node*
if you make it void then how you get node in the main()?
at 2:00
why are we taking node* getnode(…)
and not void getnode?
you have to return the node whose value == data
hence return type should be node*
if you make it void then how you get node in the main()?