program to find error in linklist.(i.e find whether any
node point wrongly to previous nodes instead of next node)
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 |
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
what is the difference between %d and %*d in c languaga?
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?
can we have joblib in a proc ?
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
What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
Write the syntax and purpose of a switch statement in C.
Explain the concept of "dangling pointers" in C.
How will you allocate memory to double a pointer?
What is stack in c?
Explain the difference between null pointer and void pointer.
what is the use of macro program