B
Q. What will be the output of the following C++ code?
#include<iostream> using namespace std; int main () { int cin; cin >> cin; cout << "cin: " << cin; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x <<= 1);
Q. Which of the following is an invalid visibility label while inheriting a class?
Q. Which of the following are member dereferencing operators in CPP? 1. * 2. :: 3. ->* 4. ::* 5. ->
Q. Which of the following is the correct class of the object cout?
Q. How can we restrict dynamic allocation of objects of a class using new?
Q. By default, members of the class are ____________ in nature.
Discusssion
Login to discuss.