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 |
What kind of problems does name mangling cause?
Explain why C++ is not purely Object Oriented Language
Describe the different styles of function prototypes in C++.
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
what is a pragma in C++?
Write a program to generate the Fibonocci Series in C++.
What is C++11?
Write a C++ Program to find Square Root of a number using sqrt() function.
Define namespace.
What are pass by value and pass by reference?what is the disadvantage of pass by value?
write a program To generate the Fibonacci Series.
What is the difference between an ARRAY and a LIST in C++?