Forum: C++ Sep 6th, 2007 |
| Replies: 10 Views: 1,522 as i described b4 ,I was asked this question by a friend which he had got in an interview.Thnx anyway. |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 632 |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 621 hey man i appreciate ur help n time , i realy do , but this is exactly how i got the question , sorry ... |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 621 unsigned long normalise(unsigned long input_time)
{
bool finished;
// This produces a formatted time string like:
// Thu_Nov_24_18:22:48_1986
string str_time =... |
Forum: C++ Sep 6th, 2007 |
| Replies: 10 Views: 1,522 I have not written the function. I was asked this question by a friend which he had got in an interview. These days I am trying to solve as many questions as possible as I learn more from it. If the... |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 968 I have not written the function. I was asked this question by a friend which he had got in an interview. These days I am trying to solve as many questions as possible as I learn more from it. If the... |
Forum: C++ Sep 6th, 2007 |
| Replies: 1 Views: 572 Here are two sample tables of information which are used by a high school to keep track of the grades for its students. One table contains the names and addresses of the students, together with a... |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 632 Please write down any assumptions or deductions you make, and show all your calculations / workings, completing the task within 10 minutes (guide time).
What initial values of a and c are required... |
Forum: C++ Sep 6th, 2007 |
| Replies: 10 Views: 1,522 Using any programming language of your choice, implement algorithms to:
a) Reverse a string
b) Sort an array of Integers |
Forum: C++ Sep 6th, 2007 |
| Replies: 10 Views: 1,522 Given that input_time actually represents an integer value in seconds since the epoch - and has the value 0 at precisely "Thu Jan 1 00:00:00 1970", write a better implementation of this function.
... |
Forum: C++ Sep 6th, 2007 |
| Replies: 2 Views: 722 What would happen when the code is run?
a) As originally written?
b) With the first bug fixed?
1: unsigned long normalise(unsigned long input_time)
2: {
3:
4: bool finished; |
Forum: C++ Sep 6th, 2007 |
| Replies: 3 Views: 968 1: unsigned long normalise(unsigned long input_time)
2: {
3:
4: bool finished;
5:
6: // This produces a formatted time string like:
7: // Thu_Nov_24_18:22:48_1986
8: ... |