Home »» Placement Papers »» All Papers »» Honeywell »» Placement Paper

C++ Interview Questions - Honeywell


C++ Interview Questions - Honeywell (01-4-2012)

1. What is data hiding?
2. What are templates?
3. What are generic classes?
4.Explain with an example templates? 
5. What are the advantages of C++ over C?
6. Which of the following is a binary search tree?
a) 5
/
2 7

1

b) 5
/
6 7

c) 5
/
2 7
/
1 6

d) none.

7. To save the steps in recursive implementations which of the following is true?
a) Full state on the stack
b) Reversible action on the stack
c) Both a and b
d) None

8. Which traversal is used for ascending order values in binary search tree?
a) Inorder b) preorder c) post order d) none

9. A________class, is a class that represents a data structure that stores a number of data objects
a. container b.component c.base d.derived


Comment

0 Answers