| 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. A static nested class is _____________ class in behavior that is nested in another _________ class.

Correct Answer is : Perl, PHP, C

2. What is new operator?

Correct Answer is : C API

3. Microsoft C++ Components extensions support new keyword to _____________

Correct Answer is : C API

4. What happens when new fails?

Correct Answer is : INT

5. If new throws an error, which function can be called to write a custom exception handler?

Correct Answer is : DECIMAL

6. In C++, if new operator is used, when is the constructor called?

Correct Answer is : FALSE

7. Which among the following is correct syntax to declare a 2D array using new operator?

Correct Answer is : BIGINT

8. For declaring data by using new operator ____________________

Correct Answer is : TEXT

9. The new operator _____________

Correct Answer is : TRUE

10. Which among the following is added in grammar of new operator?

Correct Answer is : 0

11. Initializers __________________

Correct Answer is : MEDIUMINT UNSIGNED

12. The objects allocated using new operator ________________

Correct Answer is : SMALLINT

13. The new operator _________________

Correct Answer is : MEDIUMINT

14. If new operator is defined for a class and still global new operator have to be used, which operator should be used with the keyword new?

Correct Answer is : TRUE

15. How does compiler convert “::operator new” implicitly?

Correct Answer is : INET_NTOA()

16. What is array of objects?

Correct Answer is : INET_ATON()

17. Which among the following is a mandatory condition for array of objects?

Correct Answer is : OPTIMIZE TABLE

18. What is the type of the elements of array of objects?

Correct Answer is : fixed length

19. If array of objects is declared as given below, which is the limitation on objects? Class_name arrayName[size];

Correct Answer is : fixed length

20. Which is the condition that must be followed if the array of objects is declared without initialization, only with size of array?

Correct Answer is : VARCHAR