Linked List in C/C++ - Insert a node at nth position @mycodeschool
Linked List in C/C++ - Insert a node at nth position  @mycodeschool
Uploaded April 2013 | Updated September 2026, 2 weeks ago
See complete series on linked list here:
youtube.com/watch?v=NobHlGUjV3g&list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P&index=3

In this lesson, we have written a C program to insert a node at any given position in a linked list. We have also shown a simulation of program execution in memory explaining what goes in stack section of memory and what goes in heap.

Additional Resources:
Lesson on Dynamic Memory location:
youtube.com/watch?v=_8-ht2AKyH4&list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_&index=7

Series on pointers in C/C++:
youtube.com/playlist?list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_

Feel free to drop you questions, suggestions and feedback in comments.
Linked List in C/C++ - Insert a node at nth positionPointer types, pointer arithmetic, void pointersData structures: Introduction to Doubly Linked ListBubble sort algorithmPrint elements of a linked list in forward and reverse order using recursionReverse a linked list using recursionPointers as function arguments - call by referenceEvaluation of Prefix and Postfix expressions using stackData Structures: Linked List implementation of stacksIntroduction to linked listBinary Search - Iterative Implementation and common errorsBinary search - finding first or last occurrence of a number
mycodeschool |

Linked List in C/C++ - Insert a node at nth position

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER