CS3353 C Programming and DataStructures
CS3353 C Programming and DataStructures
QUESTION BANK
PART B&C
Unit- I C PROGRAMMING FUNDAMENTALS
1 Explain in detail about the linked list implementation using an example. State the
problems in freeing list node.
2 Write a program to reverse a linked list using recursion.
3 Write a routine to merge given two sorted linked lists.
4 Write an algorithm to insert an element into a linked list. Explain it with an
example
5 Write and explain the algorithm to copy a linked list.
6 What are the operations on singly linked list? Explain with an example.
7 Write a C code for singly linked list with insert, delete, and display operations
using structure pointers.
8 Describe the creation of a doubly linked list and appending the list. Give relevant
coding C.
Unit- IV NON-LINEAR DATA STRUCTURES