how can u create a doubly linked list with out using
pointers?
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose of ios::basefield in the following statement?
Explain linked list using c++ with an example?
What are the advantages of using a pointer?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Difference between struct and class in terms of access modifier.
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
Why c++ is better than c language?
What is #include cmath?
How do you traverse a btree in backward in-order?
Is there structure in c++?
Can comments be nested?
Can we specify variable field width in a scanf() format string? If possible how?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Can a program run without main function?
What is the C-style character string?