I came across the following question:
#include<iostream>
using namespace std;
int main ()
{
       int cin;
       cin >> cin;
       cout << "cin" << cin;
       return 0;
}
The question asks me to find the output of the program, and the given options are:
(A) error in using cin keyword
(B) cin+junk value
(C) cin+input
(D) Runtime error
The answer is given to be as (B) cin+junk value, but no explanation has been given. Can someone please explain what is happening in this program?
 
     
     
     
     
     
    