|
Related Questions |
View Answer |
|
What is a Makefile?
|
View Answer
|
|
What does extern mean in a function declaration?
|
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
|
|
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
|
|
What is the difference between Mutex and Binary semaphore?
|
View Answer
|
|
What methods can be overridden in Java?
|
View Answer
|
|
What is the Standard Template Library (STL)?
|
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
|
|
How many ways are there to initialize an int with a constant?
|
View Answer
|
|
What can I safely assume about the initial values of variables which are not explicitly initialized?
|
View Answer
|
|
What is RTTI?
|
View Answer
|
|
What are the differences between a C++ struct and C++ class?
|
View Answer
|
|
How do you link a C++ program to C functions?
|
View Answer
|
|
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator.
|
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 are the defining traits of an object-oriented language?
|
View Answer
|
|
Why are arrays usually processed with for loop?
|
View Answer
|
|
Assignment Operator - What is the diffrence between a "assignment operator" and a "copy constructor"?
|
View Answer
|
|
mutable" Keyword - What is "mutable"?
|
- C++ Interview Questions & Answers">
View Answer
|
|
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
|
View Answer
|