|
Question |
Rating |
View Answer |
|
Assignment Operator - What is the diffrence between a "assignment operator" and a "copy constructor"?
|
|
View Answer |
|
Why are arrays usually processed with for loop?
|
|
View Answer |
|
What are the defining traits of an object-oriented language?
|
|
View Answer |
|
You’re given a simple code for the class BankCustomer. Write the following functions ...
You’re given a simple code for the class BankCustomer. Write the following functions: * Copy constructor * = operator overload * == operator overload * + operator overload (customers’ balances should be added up, as an example of joint account between husband and wife)
|
|
View Answer |
|
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator.
|
|
View Answer |
|
How do you link a C++ program to C functions?
|
|
View Answer |
|
What are the differences between a C++ struct and C++ class?
|
|
View Answer |
|
What is RTTI?
|
|
View Answer |
|
What can I safely assume about the initial values of variables which are not explicitly initialized?
|
|
View Answer |
|
How many ways are there to initialize an int with a constant?
|
|
View Answer |
|
Can you be bale to identify between Straight- through and Cross- over cable wiring? and in what case do you use Straight- through and Cross-over?
|
|
View Answer |
|
What is the Standard Template Library (STL)?
|
|
View Answer |
|
What methods can be overridden in Java?
|
|
View Answer |
|
What is the difference between Mutex and Binary semaphore?
|
|
View Answer |
|
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array? How can you find the nodes with repetetive data in a linked list?
|
|
View Answer |
|
Will it execute or not?
C++ Interview Questions and Answers
(Continued from previous question...)
Will it execute or not?
void main() { char *cptr = 0?2000; long *lptr = 0?2000; cptr++; lptr++; printf(” %x %x”, cptr, lptr); }Will it execute or not?
|
|
View Answer |
|
What does extern mean in a function declaration?
|
|
View Answer |
|
What is a Makefile?
|
|
View Answer |
|
When are copy constructors called?
|
|
View Answer |
|
What are all the implicit member functions of the class? Or what are all the functions which compiler implements for us if we don't define one.?? |
|
View Answer |