Open In App
Related Articles

C++ | Misc C++ | Question 8

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report
#include<iostream>
using namespace std;
int main ()
{
       int cin;
       cin >> cin;
       cout << "cin" << cin;
       return 0;
}

                    
Thanks to Gokul Kumar for contributing this question. (A) error in using cin keyword (B) cin+junk value (C) cin+input (D) Runtime error

Answer: (B)

Explanation:

Quiz of this Question

Last Updated : 28 Jun, 2021
Like Article
Save Article
Share your thoughts in the comments
Similar Reads