0
whats the difference in << "Hello world"; & <<" Hello <<"world!"; both are shows display same " Hello world " so, why this '<<' in between those ????
6 Answers
+ 2
It won't make any difference in the output. These are just two ways of writing the same thing.
+ 2
Actually you haven't closed the double inverted for Hello in the second option. It should be <<"Hello"<<"World!";
+ 1
We can also use the print function for output..
0
so.. u want to tell me its an alternate
0
yeah u r right but second one is mostly used for string concatination or for any other concatination
0
concatination means??