Can you tell me how to check whether a linked list is circular?



Can you tell me how to check whether a linked list is circular?..

Answer / hrpynux@gmail.com

If any node seems to be pointing towards the head or starting node then the linked list is circular. If no node is pointing to null.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Can we include one C program into another C program if yes how?

7 Answers   Infosys,


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

0 Answers  


Is swift based on c?

0 Answers  


Explain how many levels deep can include files be nested?

0 Answers  


What is a good way to implement complex numbers in c?

0 Answers  






What is the purpose of ftell?

0 Answers  


What is the general form of a C program?

0 Answers  


What is 2 d array in c?

0 Answers  


Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)

1 Answers   HTC,


Without Computer networks, Computers will be half the use. Comment.

0 Answers  


What are the storage classes in C?

0 Answers  


what is the associativity of bitwise OR operator?

1 Answers  


Categories