Private members of a class cannot be inherited.
Which of the following is called extraction/get from operator?
which of the following is used to terminate the function declaration?
What does the term 'cout' stand for?
Which C++ function is used to read a single character from the console?
Value of c after the following expression (initializations a = 1, b = 2, c = 1): c += (-c) ? a : b;
What will be the output of the following C++ code?
#include <bits/stdc++.h>
using namespace std;
int main() {
int a=3;
int b=4;
int c=5;
cout<<(a^(b^c)) - (b^(a^c));
return 0;
}
Which of the following concepts of object-oriented programming (OOP) means exposing only necessary information to the client?
What is the output of the following C program?
int main()
{
int i = 10;
for(;;)
{
printf("%d", i);
}
}