how can u create a doubly linked list with out using
pointers?
Answers were Sorted based on User's Feedback
Answer / ana
by multiple or single array
multiple: 3 arrays(size n) . first array for next, second
for keys and third for prev
single: 3*n size array, elements by triplets - next, key,
prev
| Is This Answer Correct ? | 5 Yes | 0 No |
If a function doesn’t return a value, how do you declare the function?
Why do we use classes in programming?
What is a driver program?
Difference between pointer to constant vs. Pointer constant
How would you find out if a linked-list is a cycle or not?
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What are the important differences between c++ and java?
How do you establish an is-a relationship?
What is scope of a variable? (LOLZ)
How is static data member similar to a global variable?
write a programming using for loop in c++ to generate diamond trangel?