program to find error in linklist.(i.e find whether any
node point wrongly to previous nodes instead of next node)



program to find error in linklist.(i.e find whether any node point wrongly to previous nodes inste..

Answer / Raza Hussain Khan

Writing a C program to check for errors in a singly linked list involves traversing the list and comparing each node's 'next' pointer with its successor's address. If there's a mismatch, it indicates an error.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

4 Answers   NIIT,


what is the difference between %d and %*d in c languaga?

7 Answers   TCS,


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


can we have joblib in a proc ?

1 Answers  


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

1 Answers   Persistent,


What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


Write the syntax and purpose of a switch statement in C.

1 Answers   Adobe,


Explain the concept of "dangling pointers" in C.

2 Answers  


How will you allocate memory to double a pointer?

1 Answers  


What is stack in c?

1 Answers  


Explain the difference between null pointer and void pointer.

0 Answers   TCS,


what is the use of macro program

1 Answers   TCS,


Categories