Tell How To Check Whether A Linked List Is Circular ?
Answer / dhayalan.n
we will store the header node into some other variable, then traverse the list, if we get null at the next part of any node, then that is not circular, otherwise we will check the next node is same as the stored node or not, if so then that is circular
| Is This Answer Correct ? | 0 Yes | 0 No |
How does stack look in function calls? Write a recursive function call, how will the stack look like?
What are the advantages and disadvantages of B-star trees over Binary trees?
Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
Difference between Call by pointer and by reference.
Discuss about iteration statements in C++ .
dynamic scoping is
Define an Abstract class in C++?
What are string library functions(syntax).
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
What is a constructor initializer list?
What is a virtual base class?
Write a syntax and purpose of switch statement.