V
Q. What is the output of the following code snippet? int x = 10; int *ptr = &x; cout << ptr;
The pointer 'ptr' holds the address of x, so 'cout << ptr' prints the address of x.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. A one dimensional array is always considered as____?
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x |= y);
Q. Which of the following is not correct for virtual function in C++?
Q. Which of the following language is machine-dependent?
Q. Which of the following below is /are a valid iterator type?
Q. Maximum number of template arguments in a function template is
Q. What is correct about the static data member of a class?
Q. Under which pillar of OOPS does base class and derived class relationship come?
Discusssion
Login to discuss.