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
Answer:2