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
What is the function of volatile in c language?
How to declare a variable?
What is 'bus error'?
Write the control statements in C language
What is a char in c?
Explain spaghetti programming?
What is typedef example?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is the difference between fread buffer() and fwrite buffer()?
What does do in c?
What does & mean in scanf?
Explain how can I right-justify a string?
In which header file is the null macro defined?
What is the function of this pointer?
Is there a way to switch on strings?