1.

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
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» C. scanf() is a stream object whereas cin is a function


Discussion

No Comment Found