S
saurabh29789
I have 2 statements :
S1 : std::cout<<std::cout<<"Hi";
and
S2 : std::cout<<(std::cout<<"Hi");
S1 prints an address followed by Hi on the screen while S2 prints Hi
followed by the same address.
I know about cascading but am not able to understand what is happening
here!!
S1 : std::cout<<std::cout<<"Hi";
and
S2 : std::cout<<(std::cout<<"Hi");
S1 prints an address followed by Hi on the screen while S2 prints Hi
followed by the same address.
I know about cascading but am not able to understand what is happening
here!!