| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which of the following belongs to the set of character types?

Correct Answer is : 0

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?

Correct Answer is : 8

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?

Correct Answer is : 6533

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?

Correct Answer is : ABC

10. How many adaptors support the checked iterators?

Correct Answer is : -30

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++?

Correct Answer is : 1234

14. What is meant by polymorphism?

Correct Answer is : 1

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?

Correct Answer is : 23

20. What does derived class does not inherit from the base class?

Correct Answer is : St*v* j*bs