What is the basic difference between cin and cout? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the basic difference between cin and cout?

16th Jan 2018, 8:09 AM
Ankush Dhondge
Ankush Dhondge - avatar
3 Answers
0
cin = (user) input cout = output
16th Jan 2018, 8:15 AM
Ice
Ice - avatar
0
Understood. Thanks.
16th Jan 2018, 8:40 AM
Ankush Dhondge
Ankush Dhondge - avatar
0
cin ...Calls in the data from screen to e.g. a variable using cin >> a; cout... Calls out data into the screen using cout << a;
13th May 2018, 2:25 PM
Benard Omondi
Benard Omondi - avatar