Printing reverse function


in line number 176 when we simply use
cout<<reverse(head);
it return garbage value why cant we use these operator

@Ashu1318 its not garbage value, head is a pointer, pointers store address, its printing the address stores in that pointer.

okay got this one, i also want to know that the challenges given after videos should i use stl or make functions for all que there !!

@Ashu1318 that is upto you, if you want to practice writing the functions you can write them every single time, or copy them from your old codes, or simply use the STL. If your basic concepts are clear its ok to use STL but if you feel you need more practise with the basic operations then best to write and pracitce them as many times as possible