cin>> cout<<

unni krishnan.r's Avatar, Join Date: Apr 2010
Skilled contributor
Why cant we treat cin and cout as a keyword instead as an identifier
rami hassan like this
xpi0t0s's Avatar, Join Date: Aug 2004
Strange question. By definition cin and cout are identifiers, not keywords. Your question shows you don't understand the difference. A keyword is one that is part of the language, like "int" and "char". An identifier is a name given to something, so if you define "int foo;" then foo is the identifier.
rami hassan, shabbir likes this