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 |
Difference between declaration and definition of a variable.
What is Object Oriented programming.what is the difference between C++ and C?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.
What does #define mean in c++?
Explain the uses oof nested class?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Is turbo c++ free?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Do class declarations end with a semicolon?
What is c++ array?
Can a constructor be private?
difference between macro and function?