πŸ“Š C++
Q. What is the difference between cin and scanf()?
  • (A) Both are the same.
  • (B) cin is a flow object while scanf() is a function.
  • (C) scanf() is a flow object while cin is a function.
  • (D) cin is used for displaying while scanf() is used to read inputs.
πŸ’¬ Discuss
βœ… Correct Answer: (B) cin is a flow object while scanf() is a function.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
211
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
89%
Success Rate