How many types of inheritance are there in C++?
Which of the following data types cannot be used in a switch-case statement?
What is the other name used for functions inside a class?
Wrapping data and its related functionality into a single entity is known as ____.
The library function clock() returns the number of _____ elapsed since the start of the program.
What is the output of this C code?
void main()
{
int x = 4.3 % 2;
printf("Value of x is %d", x);
}
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
/* this is comment*
cout << "hello world";
return 0;
}
Which of the following statements about inline functions in C++ is incorrect?
What is the purpose of the is_heap_until() function in C++ STL?
Pick out the correct statement about derived class constructors and destructors.