VARIABLLE AND DATA TYPE | C++ FOUNDATION Question 10

Last Updated :
Discuss
Comments

What will be the output of the following code?

C++
#include<iostream>
using namespace std;
int main ()
{
int cin;
cin >> cin;
cout << "cin" << cin;
return 0;
}

 error in using cin keyword

cin+junk value

 cin+input

Runtime error


 

Share your thoughts in the comments