+ 3
Why do we use >> for cout for ex: cout<< and cin>> ? Why cant we use as cout>> and cin<<
3 Answers
+ 9
Good Question!
<< is called insertion operator and >> is called extraction operator.
See the direction of the arrows.
cout << "yo"; means insert "yo" to output (screen).
cin >> num; means extract value of num from input.
+ 4
its designed by the designer of the language.
its the syntax which can't be changed
+ 2
Simply saying..,it's a syntax, we can't customize it.