Which of the following is the correct difference between cin and scanf()?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which of the following is the correct difference between cin and scanf()?

1.both are the same

2.cin is a stream object whereas scanf() is a function

3.scanf() is a stream object whereas cin is a function

4.cin is used for printing whereas scanf() is used for reading input

Posted Date:-2021-02-21 05:09:41


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!