| Other C++ General Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| why we cant create array of refrences | | 2 |
| How do you link a C++ program to C functions?
| | 2 |
| Explain the ISA and HASA class relationships. How would you
implement each in a class design? | | 2 |
| Can we have "Virtual Constructors"? | TCS | 5 |
| What are advantages of C++ when comparing with C? | HP | 3 |
| What is "map" in STL? | | 1 |
| what is pulse code modulation?
| Wipro | 1 |
| When to use Multiple Inheritance? | | 4 |
| Memory is not a constraint. In a single iteration(NOTE: you
can't go back), how will you find out the 10th last
node/item in a linked list. | Goldman-Sachs | 8 |
| What is design pattern? | Samsung | 2 |
| Which of the Standard C++ casts can be used to perform a
?safe? downcast:
a) reinterpret_cast
b) dynamic_cast
c) static_cast
d) const_cast
| Quark | 1 |
| Find the second maximum in an array?
| HCL | 2 |
| In C++ cout is:
a) object
b) class
c) something else | Lehman-Brothers | 10 |
| Difference between Overloading and Overriding? | HP | 4 |
| what is the behaviour of C and C++ compiler for the below
statements.
int *p;
p = malloc(100);
Is the behaviour same ? or different ? | | 1 |
| How can you quickly find the number of elements stored in a
a) static array b) dynamic array ? | Lucent | 3 |
| What are the total number of lines written by you in C/C++?
What is the most complicated or valuable program written in
C/C++?
| Intel | 1 |
| How to change constant values? | Symphony | 3 |
| Have you used MSVC? What do you think of it? | Google | 2 |
| What is "mutable" keyword? | | 2 |
| |
| For more C++ General Interview Questions Click Here |