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 is friend function in C++?

0 Answers   TCS,


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,


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

0 Answers  


Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


Write a C++ Program to find Addition of Two Numbers.

1 Answers  


what is a pragma in C++?

0 Answers   Aspire,


What are string library functions(syntax).

0 Answers   Accenture,


What is an abstract class?

6 Answers   Siemens,


What is the purpose of a constructor? Destructor?

0 Answers   Amazon,


Categories