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,


Explain why C++ is not purely Object Oriented Language

0 Answers   Aspire,


Describe the different styles of function prototypes in C++.

0 Answers   Adobe,


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

0 Answers   Alter,


what is a pragma in C++?

0 Answers   Aspire,


Write a program to generate the Fibonocci Series in C++.

0 Answers   Accenture,


What is C++11?

1 Answers   Adobe,


Write a C++ Program to find Square Root of a number using sqrt() function.

1 Answers  


Define namespace.

1 Answers  


What are pass by value and pass by reference?what is the disadvantage of pass by value?

0 Answers   Alter,


write a program To generate the Fibonacci Series.

0 Answers   Accenture,


What is the difference between an ARRAY and a LIST in C++?

1 Answers   IBS, TCS,


Categories