Vidyalelo
C++ Programming · Q88

Introduction to C++

Programming · C++ Programming · question 88

Q88

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

A.
both are the same
B.
cin is a stream object whereas scanf() is a function
Answer
C.
scanf() is a stream object whereas cin is a function
D.
cin is used for printing whereas scanf() is used for reading input

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board