Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   cin>> cout<< (http://www.go4expert.com/forums/cin-cout-t24951/)

unni krishnan.r 12Feb2011 12:30

cin>> cout<<
 
Why cant we treat cin and cout as a keyword instead as an identifier

xpi0t0s 14Feb2011 01:22

Re: cin>> cout<<
 
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.


All times are GMT +5.5. The time now is 13:33.