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 a lookup table in c?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How many levels of indirection in pointers can you have in a single declaration?
How do you use a 'Local Block'?
What is a const pointer?
what is the syallabus of computer science students in group- 1?
If fflush wont work, what can I use to flush input?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Explain what are header files and explain what are its uses in c programming?
What is a protocol in c?
Explain low-order bytes.
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What are qualifiers and modifiers c?
Difference between pass by reference and pass by value?