Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 11 (Q.No. 14)
14.
Which of the following is the extraction operator?
Discussion:
4 comments Page 1 of 1.
Ram said:
1 decade ago
>> is used with cout thus it is extracting out information from program to display, whereas << is importing operator as it imports data from outside (user) into the program.
Vikas said:
8 years ago
No @Ram.
>> it is extraction operator used with cin.
>> it is extraction operator used with cin.
NKJAIN said:
8 years ago
Yes, >> is used with cin i.e. cin>>a.
Sona said:
9 years ago
>> is used with cin not with cout.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers