1.

Which of the following is C++ equivalent for scanf()?(a) cin(b) cout(c) print(d) inputI got this question by my college director while I was bunking the class.This intriguing question comes from C++ Concepts in division Basics Concepts of C++ of C++

Answer»

Correct answer is (a) CIN

The BEST I can EXPLAIN: C++ uses cin to read INPUT FORM uses. However C++ also uses scanf().



Discussion

No Comment Found

Related InterviewSolutions