+ 1

What is differences between cin and cout

cin in c++

25th Nov 2016, 2:37 PM
Safiyyasaleh Sadiq
Safiyyasaleh Sadiq - avatar
5 Answers
+ 4
It's really easy to differentiate these two by just reading their names, C in (input) and C out (output). I didn't catch that in the beginning, but then I realised it and it was so obvious
25th Nov 2016, 8:06 PM
Julia Melnik
Julia Melnik - avatar
+ 1
cin is input from keyboard, cout displaying result to monitor
25th Nov 2016, 2:43 PM
Sofyan Saputra
Sofyan Saputra - avatar
+ 1
Cin is used to read the input details. Cout is used to print the given values.
25th Nov 2016, 3:04 PM
joffie
joffie - avatar
+ 1
cin is an input statement while cout is an output statement . this is the basic difference between the two also bpth use different operators. one uses stream insertion operator while the other uses stream excertion operator
25th Nov 2016, 3:26 PM
Programmer
+ 1
These are the standard input and output objects which are defined in c++ standard library <iostream>. cout<<"Prints the value"! cin>>read; //Reads the value and stores in variable
25th Nov 2016, 4:22 PM
Nandan B N
Nandan B N - avatar