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

Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


#define f(x) main() { printf("\n%d",f(2+2)); }

5 Answers  


write a program to display reverse of a number using for loop?

14 Answers  


what is c language?

2 Answers  


i want to know aptitude questions,technical questions

2 Answers  






What is the maximum length of an identifier?

0 Answers  


Why c is called a middle level language?

0 Answers  


How to draw the flowchart for structure programs?

0 Answers  


What are the 4 types of functions?

0 Answers  


Why do we use static in c?

0 Answers  


What is structure and union in c?

0 Answers  


What language is lisp written in?

0 Answers  


Categories