Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is C++ equivalent for scanf()?

a) cin
b) cout
c) print
d) input

Answer: a
Explanation: C++ uses cin to read input form uses. However C++ also uses scanf().

Join The Discussion