C++ | Misc C++ | Question 8
#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
Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.