1. Which of the following belongs to the set of character types?
2. What will be the output of this program?
#include using namespace std; int main() { char c = 74; cout << c; return 0; }
Correct Answer is : int array[10];
3. How do we represent a wide character of the form wchar_t?
4. In C++, what is the sign of character data type by default?
Correct Answer is : array[6];
5. Is the size of character literals different in C and C++?
Correct Answer is : array;
6. Suppose in a hypothetical machine, the size of char is 32 bits. What would sizeof(char) return?
7. What constant defined in header returns the number of bits in a char?
Correct Answer is : None of the mentioned
8. What is the use of checked iterators?
Correct Answer is : compile time error
9. What will happen if the iterator is unchecked?
10. How many adaptors support the checked iterators?
11. What does the checked iterator allow you to find?
Correct Answer is : a => 200
12. What kind of errors do checked iterators detect?
Correct Answer is : All of the mentioned
13. How many kinds of classes are there in c++?
14. What is meant by polymorphism?
15. How many types of inheritance are there in c++?
Correct Answer is : Bi-directional iterators
16. What is meant by container ship?
Correct Answer is : bool empty()
17. How many types of the constructor are there in C++?
Correct Answer is : I like to code
18. How many constructors can present in a class?
Correct Answer is : Not Fix
19. What should be the name of the constructor?
20. What does derived class does not inherit from the base class?
Correct Answer is : St*v* j*bs