How will I make a input function of void type?
How will I make a input function of void type?
void take_input( node *&head){
I mean will I call this function as cout<<…<< in main function?
hey u cant do like that becuase the function return type is void.