20. Which among the following is a correct statement ? a) cin>>a; b) cout>>a; c) cin<<a;
Answers
Answered by
1
Answer:
? a) cin>>a; b
Explanation:
Answered by
3
cin >> a;
Additional info::
==> cin is produced as "see-in" and cout is pronounced as "see-out".
==> After cin, >> is used always, whereas after cout, << is used.
It clearly means that option a] is the correct one and b,c are wrong.
If b was correct, it must need to have cout << a;
If c was correct, it must have needed to be similar to a.
A Tip : Never forget semi-colon[;] after a statement in C++.
I hope that my answer helps you...
Similar questions