Output of the below program
#include < iostream >
using namespace std;
int main ()
{
int i;
cout << \"Please enter an integer value: \";
cin >> i + 4;
return 0;
}
(A) 73
(B) your value + 4
(C) Error
(D) None of the mentioned
Answer: (C)
Explanation: We are not allowed to do addition operation on cin.
Quiz of this Question
Share your thoughts in the comments
Please Login to comment...