|
Related Questions |
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
|
|
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
|
View Answer
|
|
What are 2 ways of exporting a function from a DLL?
|
View Answer
|
|
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
|
View Answer
|
|
Explain term POLIMORPHISM and give an example using eg. SHAPE object: If I have a base class SHAPE, how would I define DRAW methods for two objects CIRCLE and SQUARE
.
|
View Answer
|
|
ell how to check whether a linked list is circular.
|
View Answer
|
|
Write a function that swaps the values of two integers, using int* as the argument type.
|
View Answer
|
|
Write a short code using C++ to print out all odd number from 1 to 100 using a for loop
|
View Answer
|
|
Write a program that ask for user input from 5 to 9 then calculate the average
|
View Answer
|
|
In the derived class, which data member of the base class are visible?
|
View Answer
|
|
STL Containers - What are the types of STL containers?
|
View Answer
|
|
How do you traverse a Btree in Backward in-order?
|
View Answer
|
|
What is pure virtual function?
|
View Answer
|
|
How can you tell what shell you are running on UNIX system?
|
View Answer
|
|
How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
|
View Answer
|