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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is include directive in c?

646


What is the purpose of sprintf() function?

602


Explain what is a stream?

608


How does normalization of huge pointer works?

640


What is the purpose of the preprocessor directive error?

682






Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

629


What is ctrl c called?

598


Can we replace the struct function in tree syntax with a union?

781


what is reason of your company position's in india no. 1.

1777


Why is c called "mother" language?

857


What is difference between Structure and Unions?

640


Why is %d used in c?

567


Tell me what are bitwise shift operators?

658


Difference between linking and loading?

695


What is size of union in c?

580