Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell How To Check Whether A Linked List Is Circular ?



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

Post New Answer

More C++ Interview Questions

How does stack look in function calls? Write a recursive function call, how will the stack look like?

0 Answers   Adobe,


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 Answers  


Difference between Call by pointer and by reference.

0 Answers   Adobe,


Discuss about iteration statements in C++ .

0 Answers   Agilent,


dynamic scoping is

0 Answers   Siemens,


Define an Abstract class in C++?

0 Answers  


What are string library functions(syntax).

0 Answers   Accenture,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


What is a constructor initializer list?

0 Answers   Amazon,


What is a virtual base class?

6 Answers   Fidelity, Siemens,


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


Categories