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

What kind of problems does name mangling cause?

0 Answers   Amazon,


Write a C++ program to print strings in reverse order.

0 Answers   Amdocs,


Explain why C++ is not purely Object Oriented Language

0 Answers   Aspire,


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


What does it mean to declare a function or variable as static?

0 Answers   Amazon,


How to run C++ program in cmd

0 Answers  


Write a program that can take input from 3 to 8 and calculate the average?

0 Answers   Accenture,


In C++ what is the meaning of data hiding?

0 Answers   Aricent,


Write a C++ Program to Display Number (Entered by the User).

1 Answers  


What is the difference between member functions and static member functions?

0 Answers   Alter,


What are the costs and benefits of using exceptions?

0 Answers   Amazon,


What do you know about Volatile keyword in C++? Explain with an example code.

0 Answers   Adobe,


Categories