Discussion :: C++ - MCQs
-
What is the output of this program?
#include < iostream >
using namespace std;
int main ()
{
int i;
cout << "Please enter an integer value: ";
cin >> i + 4;
return 0;
}
Answer : Option C
Explanation :
We are not allowed to do addition operation on cin.
Be The First To Comment